ntdll: Block signals during process-wide exit.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-02-05 16:43:34 +01:00
parent 4f640fa9b6
commit 4a5890811d
1 changed files with 1 additions and 0 deletions

View File

@ -475,6 +475,7 @@ void WINAPI RtlExitUserThread( ULONG status )
if (interlocked_xchg_add( &nb_threads, -1 ) <= 1)
{
LdrShutdownProcess();
pthread_sigmask( SIG_BLOCK, &server_block_set, NULL );
signal_exit_process( status );
}