Fix track lifetime wrt graph. Fixes #3251.
git-svn-id: svn://localhost/ardour2/branches/3.0@7410 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
593b421180
commit
5ce47b52da
@ -2099,9 +2099,11 @@ Session::remove_route (shared_ptr<Route> route)
|
||||
update_latency_compensation (false, false);
|
||||
set_dirty();
|
||||
|
||||
/* flush references out of the graph
|
||||
/* Re-sort routes to remove the graph's current references to the one that is
|
||||
* going away, then flush old references out of the graph.
|
||||
*/
|
||||
|
||||
resort_routes ();
|
||||
route_graph->clear_other_chain ();
|
||||
|
||||
/* get rid of it from the dead wood collection in the route list manager */
|
||||
|
Loading…
Reference in New Issue
Block a user