1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 20:33:52 +00:00

Clear frame image back references when removing fi data.

This commit is contained in:
Bartosz Taudul 2020-07-17 22:16:47 +02:00
parent cc63b6492f
commit 0704ab8f79

View File

@ -1258,6 +1258,10 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
const auto fisz = w * h / 2; const auto fisz = w * h / 2;
f.Skip( fisz + sizeof( FrameImage::flip ) ); f.Skip( fisz + sizeof( FrameImage::flip ) );
} }
for( auto& v : m_data.framesBase->frames )
{
v.frameImage = -1;
}
} }
s_loadProgress.subTotal.store( 0, std::memory_order_relaxed ); s_loadProgress.subTotal.store( 0, std::memory_order_relaxed );