mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Fix message thread assignment in import-chrome.
This commit is contained in:
parent
74d0e79b8c
commit
bcfc4a4fa7
@ -416,6 +416,12 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
|
||||
msg->thread = CompressThread( v.tid );
|
||||
msg->color = 0xFFFFFFFF;
|
||||
msg->callstack.SetVal( 0 );
|
||||
|
||||
if( m_threadCtx != v.tid )
|
||||
{
|
||||
m_threadCtx = v.tid;
|
||||
m_threadCtxData = nullptr;
|
||||
}
|
||||
InsertMessageData( msg );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user