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
@ -1582,13 +1582,14 @@ struct PresentationInfoVCASorter
|
||||
void
|
||||
EditorRoutes::initial_display ()
|
||||
{
|
||||
DisplaySuspender ds;
|
||||
_model->clear ();
|
||||
|
||||
if (!_session) {
|
||||
return;
|
||||
}
|
||||
|
||||
DisplaySuspender ds;
|
||||
|
||||
StripableList s;
|
||||
|
||||
RouteList r (*_session->get_routes());
|
||||
|
Loading…
Reference in New Issue
Block a user