[host] fix faults caused by improper startup/shudown/restart ordering
This commit is contained in:
1 parent
6b8161972d
commit
04774d9cd6
4 files changed
+55
-26
No files matched your search
@@ -146,6 +146,7 @@ void mouseHook_remove(void)
|
||||
{
|
||||
if (!mouseHook.event)
|
||||
return;
|
||||
|
||||
SetEvent(mouseHook.event);
|
||||
WaitForSingleObject(mouseHook.thread, INFINITE);
|
||||
CloseHandle(mouseHook.thread);
|
||||
|
||||
Reference in new issue
Block a user