From 4368759d41ffddf1c57baeb3c2bc929ab600b79b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 10 Jul 2013 14:19:48 +0200 Subject: amend to 212d2ac5d and 8becd4413 - fix port connection matrix crash on close --- gtk2_ardour/port_matrix.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/port_matrix.cc') diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index 0fbbc03fb0..bac415d72f 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -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 */ -- cgit v1.2.3