Fix crash on quit when in a non-route time axis.
This commit is contained in:
@@ -323,8 +323,6 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
||||
|
||||
RouteTimeAxisView::~RouteTimeAxisView ()
|
||||
{
|
||||
CatchDeletion (this);
|
||||
|
||||
for (list<ProcessorAutomationInfo*>::iterator i = processor_automation.begin(); i != processor_automation.end(); ++i) {
|
||||
delete *i;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user