SessionDialog: do not invoke idle callbacks from response

This dialog is queued for idle delete by both StartupFSM and
ArdourUI. The deletion cannot be allowed to happen during
a response handler
This commit is contained in:
Paul Davis 2022-12-12 10:17:05 -07:00
parent 095b84080a
commit 06dfba2677

View File

@ -146,6 +146,8 @@ SessionDialog::SessionDialog (bool require_new, const std::string& session_name,
if (require_new) {
setup_untitled_session ();
}
disallow_idle ();
}
SessionDialog::SessionDialog ()
@ -173,6 +175,7 @@ SessionDialog::SessionDialog ()
recent_scroller.set_size_request (-1, 80);
}
disallow_idle ();
}
SessionDialog::~SessionDialog()