Module: wine Branch: master Commit: 4dcc87cfff4e9faf8d5e60504bd95fa6fb5c4b2e URL: https://source.winehq.org/git/wine.git/?a=commit;h=4dcc87cfff4e9faf8d5e60504...
Author: Paul Gofman pgofman@codeweavers.com Date: Wed Jul 28 01:07:01 2021 +0300
ntdll: Clear thread_running flag on exiting ioqueue_thread_proc().
Signed-off-by: Paul Gofman pgofman@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ntdll/threadpool.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c index c27f6d4a145..50433b7c009 100644 --- a/dlls/ntdll/threadpool.c +++ b/dlls/ntdll/threadpool.c @@ -1570,6 +1570,7 @@ static void CALLBACK ioqueue_thread_proc( void *param ) } }
+ ioqueue.thread_running = FALSE; RtlLeaveCriticalSection( &ioqueue.cs );
TRACE( "terminating I/O completion thread\n" );