mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Clear frame image back references when removing fi data.
This commit is contained in:
parent
cc63b6492f
commit
0704ab8f79
@ -1258,6 +1258,10 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
|
||||
const auto fisz = w * h / 2;
|
||||
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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user