mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +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