mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Fix crash on quit when in a non-route time axis.
This commit is contained in:
parent
eb86971d2d
commit
89be7ae58c
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue