mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
FileChooser: Avoid calling member functions on pimpl after it is destroyed
This commit is contained in:
parent
37b92f6882
commit
038d6dff32
1 changed files with 1 additions and 2 deletions
|
|
@ -300,9 +300,8 @@ private:
|
|||
void pickerWasCancelled()
|
||||
{
|
||||
cancelPendingUpdate();
|
||||
|
||||
owner.finished ({});
|
||||
exitModalState (0);
|
||||
// Calling owner.finished will delete this Pimpl instance, so don't call any more member functions here!
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue