ntdll: Block signals during process-wide exit.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4f640fa9b6
commit
4a5890811d
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue