Fix message thread assignment in import-chrome.

This commit is contained in:
Bartosz Taudul 2021-09-23 18:08:03 +02:00
parent 74d0e79b8c
commit bcfc4a4fa7
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -416,6 +416,12 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
msg->thread = CompressThread( v.tid ); msg->thread = CompressThread( v.tid );
msg->color = 0xFFFFFFFF; msg->color = 0xFFFFFFFF;
msg->callstack.SetVal( 0 ); msg->callstack.SetVal( 0 );
if( m_threadCtx != v.tid )
{
m_threadCtx = v.tid;
m_threadCtxData = nullptr;
}
InsertMessageData( msg ); InsertMessageData( msg );
} }