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
This commit is contained in:
Paul Davis 2017-01-30 12:54:48 +01:00
parent c3917572a5
commit f2a9c5f625
1 changed files with 1 additions and 0 deletions

View File

@ -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()) {