Fixed reset of MessageQueue in Clear
This commit is contained in:
parent
6e3c00725a
commit
59ef9a7e8b
@ -297,6 +297,7 @@ int MessageQueue_Clear(wMessageQueue* queue)
|
||||
queue->size--;
|
||||
}
|
||||
ResetEvent(queue->event);
|
||||
queue->closed = FALSE;
|
||||
|
||||
LeaveCriticalSection(&queue->lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user