summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-01-08 00:41:59 +0100
committerRobin Gareus <robin@gareus.org>2015-01-08 00:41:59 +0100
commit21ffb956e65b75d2ea42fe431c55773f08b9698a (patch)
tree7a056296311e4a7dfcbeb30186bbcb552621cc50 /gtk2_ardour/route_time_axis.cc
parent0a4038f1df44bd289fac1f767eacb1b863fb5fbe (diff)
properly catch RTAV deletion.
fixes issue with editor-mixer retaining a shared-pointer to the deleted route.
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index fff7896674..c54775d845 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -336,6 +336,7 @@ RouteTimeAxisView::~RouteTimeAxisView ()
_automation_tracks.clear ();
delete route_group_menu;
+ CatchDeletion (this);
}
void