mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 05:01:57 +01:00
Prevent heap-use-after-free crash
This commit is contained in:
committed by
James Crook
parent
b280253e60
commit
af79017f3a
@@ -1189,7 +1189,15 @@ void ProjectWindow::HandleResize()
|
||||
return;
|
||||
}
|
||||
|
||||
CallAfter( [this]{ FixScrollbars(), UpdateLayout(); } );
|
||||
CallAfter( [this]{
|
||||
|
||||
if (mIsDeleting)
|
||||
return;
|
||||
|
||||
FixScrollbars();
|
||||
UpdateLayout();
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user