mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Don't handle crashes, if there's no connection.
This commit is contained in:
parent
118a00d536
commit
f3eabc28e2
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user