Merge pull request #6551 from akallabeth/queue_fix
Reset Queue_Event when Queue_Clear is called.
This commit is contained in:
commit
96bb569674
@ -105,7 +105,7 @@ void Queue_Clear(wQueue* queue)
|
||||
|
||||
queue->size = 0;
|
||||
queue->head = queue->tail = 0;
|
||||
|
||||
ResetEvent(queue->event);
|
||||
if (queue->synchronized)
|
||||
LeaveCriticalSection(&queue->lock);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user