Commit 9d407a11 authored by Shaun Ren's avatar Shaun Ren Committed by Alexandre Julliard

sapi: Reset empty event after queuing a task in async_queue_task.

parent 4bfd0a23
......@@ -165,6 +165,7 @@ HRESULT async_queue_task(struct async_queue *queue, struct async_task *task)
list_add_tail(&queue->tasks, &task->entry);
LeaveCriticalSection(&queue->cs);
ResetEvent(queue->empty);
SetEvent(queue->wait);
return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment