1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Send data before sleeping during shutdown.

This commit is contained in:
Bartosz Taudul 2017-11-11 14:23:55 +01:00
parent fc4e31bb8f
commit 065964b216

View File

@ -250,6 +250,7 @@ void Profiler::Worker()
}
else
{
if( m_bufferOffset != m_bufferStart ) CommitData();
std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
}
}