mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[c-host] win: fixed improper signal detection in event code
This commit is contained in:
parent
dcc9625803
commit
d860d6b891
@ -179,7 +179,7 @@ bool lgWaitEvents(LGEvent * events[], int count, bool waitAll, unsigned int time
|
||||
// null non signaled events from the handle list
|
||||
for(int i = 0; i < count; ++i)
|
||||
if (i != result && !lgWaitEvent(events[i], 0))
|
||||
handles[i] = NULL;
|
||||
events[i] = NULL;
|
||||
free(handles);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user