Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorSherief Farouk <sherief.personal@gmail.com>2022-09-11 03:16:58 +0300
committerSherief Farouk <sherief.personal@gmail.com>2022-09-11 03:16:58 +0300
commite8b3d22d76902cb9a13aa9e7b011ffee27f417fc (patch)
treed424c44e34b0fb4b8e8dbe55c0ef3d55f037e6b5 /public
parentad23932e9f2d4cfa6445f1ed6e61e9e6b3e469a9 (diff)
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.
Diffstat (limited to 'public')
-rw-r--r--public/client/TracyProfiler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp
index 37969d03..1e999065 100644
--- a/public/client/TracyProfiler.cpp
+++ b/public/client/TracyProfiler.cpp
@@ -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