mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
CheckString() doesn't check if string query is still pending.
This commit is contained in:
parent
ee22cf3b0c
commit
dc0f2db3f2
@ -3606,8 +3606,7 @@ void Worker::AddSourceLocation( const QueueSourceLocation& srcloc )
|
||||
if( CheckString( srcloc.file ) )
|
||||
{
|
||||
StringRef ref( StringRef::Ptr, srcloc.file );
|
||||
assert( m_pendingFileStrings.find( ref ) == m_pendingFileStrings.end() );
|
||||
if( srcloc.file != 0 && m_checkedFileStrings.find( ref ) == m_checkedFileStrings.end() )
|
||||
if( srcloc.file != 0 && m_checkedFileStrings.find( ref ) == m_checkedFileStrings.end() && m_pendingFileStrings.find( ref ) == m_pendingFileStrings.end() )
|
||||
{
|
||||
CacheSource( ref );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user