Load source cache in comparison worker.

This commit is contained in:
Bartosz Taudul 2022-12-23 17:10:21 +01:00
parent 359840bec0
commit 886456ea44
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -158,7 +158,7 @@ void View::DrawCompare()
m_compare.loadThread = std::thread( [this, f] {
try
{
m_compare.second = std::make_unique<Worker>( *f, EventType::None );
m_compare.second = std::make_unique<Worker>( *f, EventType::SourceCache );
m_compare.userData = std::make_unique<UserData>( m_compare.second->GetCaptureProgram().c_str(), m_compare.second->GetCaptureTime() );
}
catch( const tracy::UnsupportedVersion& e )