mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add TRACY_NO_EXIT macro.
This commit is contained in:
@@ -184,7 +184,9 @@ void Profiler::Worker()
|
||||
{
|
||||
for(;;)
|
||||
{
|
||||
#ifndef TRACY_NO_EXIT
|
||||
if( ShouldExit() ) return;
|
||||
#endif
|
||||
m_sock = listen.Accept();
|
||||
if( m_sock ) break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user