Don't perform background tasks during trace upgrade.

This commit is contained in:
Bartosz Taudul
2019-09-29 20:52:25 +02:00
parent 947eb56f3d
commit 2470936050
3 changed files with 44 additions and 37 deletions

View File

@@ -55,7 +55,7 @@ int main( int argc, char** argv )
{
int inVer;
{
tracy::Worker worker( *f );
tracy::Worker worker( *f, tracy::EventType::All, false );
#ifndef TRACY_NO_STATISTICS
while( !worker.AreSourceLocationZonesReady() ) std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );