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:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user