Module: wine Branch: master Commit: 9d407a111781548db23d1a38ca61fd6b8f50fdf8 URL: https://gitlab.winehq.org/wine/wine/-/commit/9d407a111781548db23d1a38ca61fd6...
Author: Shaun Ren sren@codeweavers.com Date: Wed Jul 19 12:47:00 2023 -0400
sapi: Reset empty event after queuing a task in async_queue_task.
---
dlls/sapi/async.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/sapi/async.c b/dlls/sapi/async.c index e09c6c64f9a..491ca657c1a 100644 --- a/dlls/sapi/async.c +++ b/dlls/sapi/async.c @@ -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;