Fix on-demand mode.

This commit is contained in:
Bartosz Taudul 2018-09-09 19:44:41 +02:00
parent 9211ce42da
commit 6be66d7a3c

View File

@ -1022,6 +1022,7 @@ void Profiler::Worker()
m_sock->~Socket(); m_sock->~Socket();
tracy_free( m_sock ); tracy_free( m_sock );
#ifndef TRACY_ON_DEMAND
// Client is no longer available here // Client is no longer available here
for(;;) for(;;)
{ {
@ -1079,6 +1080,7 @@ void Profiler::Worker()
tracy_free( m_sock ); tracy_free( m_sock );
} }
} }
#endif
} }
for(;;) for(;;)