mirror of
https://github.com/wolfpld/tracy.git
synced 2026-11-13 11:25:51 +00:00
Properly set countMap to 0 when loading a trace.
The live capture code path already does the equivalent thing.
This commit is contained in:
@@ -1788,6 +1788,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks, bool allow
|
||||
if( !t->timeline.empty() )
|
||||
{
|
||||
uint8_t countMap[64*1024];
|
||||
memset( countMap, 0, sizeof( countMap ) );
|
||||
// Don't touch thread compression cache in a thread.
|
||||
ProcessTimeline( countMap, t->timeline, m_data.localThreadCompress.DecompressMustRaw( t->id ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user