From 9f62e034b74445621835fa2b1e352287ad457cf2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 10 Nov 2024 22:02:58 -0700 Subject: [PATCH] fix dangiling regionviews (and thus region refs) when streamview is deleted --- gtk2_ardour/streamview.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index 47ba1c51e0..35bed14a1f 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -95,6 +95,7 @@ StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Container* canvas_g StreamView::~StreamView () { + undisplay_track (); delete canvas_rect; }