From 101829b280756381005f61188c64531f22e9a145 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 29 Jan 2022 05:18:01 +0100 Subject: [PATCH] Revert "Fix crash when removing Routes and VCA" There is probably a good reason why _vca.reset() is called immediately, and 6dc66ea78f2b is a better solution to the issue This reverts commit 83719fba1ab22db0aad85104c6afb7538c6bd77b. --- gtk2_ardour/vca_time_axis.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/vca_time_axis.cc b/gtk2_ardour/vca_time_axis.cc index ce221047cb..754a8b4508 100644 --- a/gtk2_ardour/vca_time_axis.cc +++ b/gtk2_ardour/vca_time_axis.cc @@ -129,6 +129,8 @@ VCATimeAxisView::~VCATimeAxisView () void VCATimeAxisView::self_delete () { + /* reset reference immediately rather than deferring to idle */ + _vca.reset (); delete_when_idle (this); }