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

Don't store and read compressed thread.

This commit is contained in:
Bartosz Taudul 2019-11-09 00:23:09 +01:00
parent 467d675262
commit e80a19234e

View File

@ -1319,10 +1319,11 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
uint64_t t0, t1;
f.Read2( t0, t1 );
mem->SetThreadAlloc( CompressThread( t0 ) );
const auto ct0 = CompressThread( t0 );
mem->SetThreadAlloc( ct0 );
if( t0 == t1 )
{
mem->SetThreadFree( mem->ThreadAlloc() );
mem->SetThreadFree( ct0 );
}
else
{