mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix TRACY_NO_SYSTEM_TRACING.
This commit is contained in:
parent
fbeee3cf61
commit
00b26c1acf
@ -2069,9 +2069,11 @@ bool Profiler::HandleServerQuery()
|
||||
case ServerQueryDisconnect:
|
||||
HandleDisconnect();
|
||||
return false;
|
||||
#ifdef TRACY_HAS_SYSTEM_TRACING
|
||||
case ServerQueryExternalName:
|
||||
SysTraceSendExternalName( ptr );
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
assert( false );
|
||||
break;
|
||||
@ -2084,6 +2086,7 @@ void Profiler::HandleDisconnect()
|
||||
{
|
||||
moodycamel::ConsumerToken token( GetQueue() );
|
||||
|
||||
#ifdef TRACY_HAS_SYSTEM_TRACING
|
||||
if( s_sysTraceThread )
|
||||
{
|
||||
auto timestamp = GetTime();
|
||||
@ -2131,6 +2134,7 @@ void Profiler::HandleDisconnect()
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
QueueItem terminate;
|
||||
MemWrite( &terminate.hdr.type, QueueType::Terminate );
|
||||
|
Loading…
Reference in New Issue
Block a user