kernel32: Terminate process in unhandled exception handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3fded30a10
commit
4f1185d21e
|
@ -1260,7 +1260,7 @@ void WINAPI start_process( LPTHREAD_START_ROUTINE entry, PEB *peb )
|
|||
}
|
||||
__EXCEPT(UnhandledExceptionFilter)
|
||||
{
|
||||
TerminateThread( GetCurrentThread(), GetExceptionCode() );
|
||||
TerminateProcess( GetCurrentProcess(), GetExceptionCode() );
|
||||
}
|
||||
__ENDTRY
|
||||
abort(); /* should not be reached */
|
||||
|
|
|
@ -185,6 +185,8 @@ static void doCrash(int argc, char** argv)
|
|||
SetErrorMode( 0 );
|
||||
SetUnhandledExceptionFilter( NULL );
|
||||
|
||||
run_background_thread();
|
||||
|
||||
if (argc >= 4)
|
||||
{
|
||||
crash_blackbox_t blackbox;
|
||||
|
|
Loading…
Reference in New Issue