mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 08:14:34 +00:00
Don't search for thread for empty timelines.
This commit is contained in:
parent
b7fe29f750
commit
d64f07f853
@ -1147,10 +1147,13 @@ finishLoading:
|
|||||||
|
|
||||||
for( auto& t : m_data.threads )
|
for( auto& t : m_data.threads )
|
||||||
{
|
{
|
||||||
// Don't touch thread compression cache in a thread.
|
if( !t->timeline.empty() )
|
||||||
auto it = m_data.threadMap.find( t->id );
|
{
|
||||||
assert( it != m_data.threadMap.end() );
|
// Don't touch thread compression cache in a thread.
|
||||||
ProcessTimeline( t->timeline, it->second );
|
auto it = m_data.threadMap.find( t->id );
|
||||||
|
assert( it != m_data.threadMap.end() );
|
||||||
|
ProcessTimeline( t->timeline, it->second );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for( auto& v : m_data.sourceLocationZones )
|
for( auto& v : m_data.sourceLocationZones )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user