mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
Session-cleanup: clear route references from graph
resort_routes() is a no-op during session destruction, however _current_route_graph can still hold references to routes. A GraphVertex is-a boost::shared_ptr<Route>.
This commit is contained in:
parent
8c7f2c93f0
commit
eb0f353716
1 changed files with 3 additions and 0 deletions
|
|
@ -2173,6 +2173,9 @@ Session::resort_routes ()
|
|||
*/
|
||||
|
||||
if (inital_connect_or_deletion_in_progress ()) {
|
||||
/* drop any references during delete */
|
||||
GraphEdges edges;
|
||||
_current_route_graph = edges;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue