mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Fix potential crash at exit/close.
~DisplaySuspender's PresentationInfo::unsuspend_change_signal can try to update Stripable PresentationInfo for a session that's no longer present.
This commit is contained in:
parent
c56635e71c
commit
3c25d26e91
1 changed files with 2 additions and 1 deletions
|
|
@ -1582,13 +1582,14 @@ struct PresentationInfoVCASorter
|
||||||
void
|
void
|
||||||
EditorRoutes::initial_display ()
|
EditorRoutes::initial_display ()
|
||||||
{
|
{
|
||||||
DisplaySuspender ds;
|
|
||||||
_model->clear ();
|
_model->clear ();
|
||||||
|
|
||||||
if (!_session) {
|
if (!_session) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DisplaySuspender ds;
|
||||||
|
|
||||||
StripableList s;
|
StripableList s;
|
||||||
|
|
||||||
RouteList r (*_session->get_routes());
|
RouteList r (*_session->get_routes());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue