From f2a9c5f6259c82c2cd546b1c114c59f26e4497f0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 30 Jan 2017 12:54:48 +0100 Subject: [PATCH] prevent crash when deselecting track from mixer. Need to defer PresentationInfo::Change till after we're done changing our own cached set of axis views --- gtk2_ardour/route_processor_selection.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/route_processor_selection.cc b/gtk2_ardour/route_processor_selection.cc index 6b7592efd4..ab512d3bb1 100644 --- a/gtk2_ardour/route_processor_selection.cc +++ b/gtk2_ardour/route_processor_selection.cc @@ -115,6 +115,7 @@ void RouteProcessorSelection::remove (AxisView* r) { ENSURE_GUI_THREAD (*this, &RouteProcessorSelection::remove, r); + PresentationInfo::ChangeSuspender cs; AxisViewSelection::iterator i; if ((i = find (axes.begin(), axes.end(), r)) != axes.end()) {