From 026e8d06732c8f5d7e7e2986e3b3f1d1e50bc247 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 16 Mar 2007 01:56:00 +0000 Subject: [PATCH] fix crash in mixer selection after session was closed, but mixer selection retained refs to routes/plugins git-svn-id: svn://localhost/ardour2/trunk@1601 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/mixer_ui.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 5bf480d4f9..d1089e48e6 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -381,6 +381,7 @@ Mixer_UI::disconnect_from_session () ENSURE_GUI_THREAD(mem_fun(*this, &Mixer_UI::disconnect_from_session)); group_model->clear (); + _selection.clear (); set_title (_("ardour: mixer")); stop_updating (); }