1
0
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:
Bartosz Taudul
2017-10-18 20:01:12 +02:00
parent 51013dc0e6
commit 9c4316879c
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -184,7 +184,9 @@ void Profiler::Worker()
{
for(;;)
{
#ifndef TRACY_NO_EXIT
if( ShouldExit() ) return;
#endif
m_sock = listen.Accept();
if( m_sock ) break;
}