diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index b2f32b69..e251ce11 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -538,6 +538,8 @@ static char s_crashText[1024]; LONG WINAPI CrashFilter( PEXCEPTION_POINTERS pExp ) { + if( !GetProfiler().IsConnected() ) return EXCEPTION_CONTINUE_SEARCH; + const unsigned ec = pExp->ExceptionRecord->ExceptionCode; auto msgPtr = s_crashText; switch( ec )