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:
Robin Gareus 2017-02-21 01:35:18 +01:00
parent c56635e71c
commit 3c25d26e91
1 changed files with 2 additions and 1 deletions

View File

@ -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());