properly catch RTAV deletion.
authorRobin Gareus <robin@gareus.org>
Wed, 7 Jan 2015 23:41:59 +0000 (00:41 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 7 Jan 2015 23:41:59 +0000 (00:41 +0100)
fixes issue with editor-mixer retaining
a shared-pointer to the deleted route.

gtk2_ardour/route_time_axis.cc

index fff7896674c0f3cee6ef47d6e7eb0ec7168c8f0b..c54775d8451504a72a50308edc4c4bec9566cbe2 100644 (file)
@@ -336,6 +336,7 @@ RouteTimeAxisView::~RouteTimeAxisView ()
        _automation_tracks.clear ();
 
        delete route_group_menu;
+       CatchDeletion (this);
 }
 
 void