mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-01-20 10:42:28 +00:00
[host] fix faults caused by improper startup/shudown/restart ordering
This commit is contained in:
@@ -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