[c-host] fix #220, invalid handle provided to WaitForObjects

This commit is contained in:
Geoffrey McRae 2019-12-19 13:38:05 +11:00
parent 6530ca62da
commit da5ebee3f7

View file

@ -540,7 +540,7 @@ osEventHandle * os_wrapEvent(HANDLE handle)
event->lock = 0; event->lock = 0;
event->reset = false; event->reset = false;
event->handle = event; event->handle = handle;
event->wrapped = true; event->wrapped = true;
event->msSpinTime = 0; event->msSpinTime = 0;
event->signaled = false; event->signaled = false;