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