use ItemChangeBlocker to improve performance of RegionView::remove_silent_frames()
This commit is contained in:
parent
ab34861388
commit
6ed1402812
|
@ -391,6 +391,8 @@ RegionView::hide_silent_frames ()
|
|||
void
|
||||
RegionView::drop_silent_frames ()
|
||||
{
|
||||
ItemChangeBlocker cb (*group);
|
||||
|
||||
for (auto& _silent_frame : _silent_frames) {
|
||||
delete _silent_frame;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user