[#] 修复多开小工具不可用的问题

This commit is contained in:
huiyadanli 2023-07-12 00:01:39 +08:00
parent b6a415f0d7
commit 568b754cfc

View File

@ -222,13 +222,13 @@ namespace RevokeMsgPatcher.MultiInstance
foreach (SYSTEM_HANDLE_INFORMATION handle in aHandles) foreach (SYSTEM_HANDLE_INFORMATION handle in aHandles)
{ {
// Mutant 类型的句柄 // Mutant 类型的句柄
if (handle.ObjectType == OBJECT_TYPE_MUTANT) // if (handle.ObjectType == OBJECT_TYPE_MUTANT)
{ // {
if (FindAndCloseWeChatMutexHandle(handle, process)) if (FindAndCloseWeChatMutexHandle(handle, process))
{ {
existMutexHandle = true; existMutexHandle = true;
} }
} // }
} }
return existMutexHandle; return existMutexHandle;
} }