diff options
author | David Robillard <d@drobilla.net> | 2014-12-06 18:42:35 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-06 22:43:06 -0500 |
commit | 89be7ae58ceeb4cd478376a718fc53d288f07710 (patch) | |
tree | 5dfd334dfc2bfa88b97a4c539da88fe0ad0aa3e2 /gtk2_ardour/time_axis_view.cc | |
parent | eb86971d2d1a9c0b81f8f7ca2b87aa744be54976 (diff) |
Fix crash on quit when in a non-route time axis.
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 9cba0bbac3..dc4b491c4a 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -219,6 +219,8 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie TimeAxisView::~TimeAxisView() { + CatchDeletion (this); + in_destructor = true; for (list<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) { |