amend to 212d2ac5d and 8becd4413 - fix port connection matrix crash on close

This commit is contained in:
Robin Gareus 2013-07-10 14:19:48 +02:00
parent 0710171d90
commit 4368759d41
1 changed files with 2 additions and 0 deletions

View File

@ -206,6 +206,8 @@ PortMatrix::routes_changed ()
void
PortMatrix::setup ()
{
if (!_session) return; // session went away
/* this needs to be done first, as the visible_ports() method uses the
notebook state to decide which ports are being shown */