Windows exception handler allows other handlers to be called.

The profiled app might install handlers to track crashes, write minidumps,
etc. - this patch makes sure the app's exception handler is called when
a crash happens while profiling with Tracy.
This commit is contained in:
Sherief Farouk 2022-09-10 17:16:58 -07:00
parent ad23932e9f
commit e8b3d22d76

View File

@ -843,8 +843,6 @@ LONG WINAPI CrashFilter( PEXCEPTION_POINTERS pExp )
GetProfiler().RequestShutdown();
while( !GetProfiler().HasShutdownFinished() ) { std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) ); };
TerminateProcess( GetCurrentProcess(), 1 );
return EXCEPTION_CONTINUE_SEARCH;
}
#endif