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

View file

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