Signed-off-by: Paul Gofman pgofman@codeweavers.com --- 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" );