1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-17 09:07:41 +02:00

Prevent heap-use-after-free crash

This commit is contained in:
Philipp Claßen 2019-11-22 23:02:57 +01:00 committed by James Crook
parent b280253e60
commit af79017f3a

View File

@ -1189,7 +1189,15 @@ void ProjectWindow::HandleResize()
return;
}
CallAfter( [this]{ FixScrollbars(), UpdateLayout(); } );
CallAfter( [this]{
if (mIsDeleting)
return;
FixScrollbars();
UpdateLayout();
});
}