mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38: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
|
// null non signaled events from the handle list
|
||||||
for(int i = 0; i < count; ++i)
|
for(int i = 0; i < count; ++i)
|
||||||
if (i != result && !lgWaitEvent(events[i], 0))
|
if (i != result && !lgWaitEvent(events[i], 0))
|
||||||
handles[i] = NULL;
|
events[i] = NULL;
|
||||||
free(handles);
|
free(handles);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user