Local threads must have at least one zone captured.

This commit is contained in:
Bartosz Taudul
2020-02-22 18:51:53 +01:00
parent d4f9810006
commit 4273939cf5
2 changed files with 3 additions and 3 deletions

View File

@@ -2095,9 +2095,9 @@ const char* Worker::GetThreadName( uint64_t id ) const
}
}
bool Worker::IsThreadLocal( uint64_t id ) const
bool Worker::IsThreadLocal( uint64_t id )
{
return m_data.localThreadCompress.Exists( id );
return m_data.localThreadCompress.Exists( id ) && RetrieveThread( id )->count > 0;
}
const SourceLocation& Worker::GetSourceLocation( int16_t srcloc ) const