Map compressed thread id 0 to real thread id 0.

This commit is contained in:
Bartosz Taudul 2018-06-17 19:03:06 +02:00
parent 684ba455a2
commit cfd7ac3957

View File

@ -189,6 +189,7 @@ Worker::Worker( const char* addr )
, m_pendingSourceLocation( 0 )
{
m_data.sourceLocationExpand.push_back( 0 );
m_data.threadExpand.push_back( 0 );
#ifndef TRACY_NO_STATISTICS
m_data.sourceLocationZonesReady = true;
@ -206,6 +207,8 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
, m_stream( nullptr )
, m_buffer( nullptr )
{
m_data.threadExpand.push_back( 0 );
int fileVer = 0;
uint8_t hdr[8];