Session drop graph-nodes before ~Session

Previously active Routes were retained until the end of
Session d'tor and not dropped during Session::destroy.

While most resources were explicitly cleaned up via DropReferences,
Processor UIs are kept around until the actual destructor runs.
Likewise some controllable are kept around while the GraphNode (Route)
owning it is not released.
This commit is contained in:
Robin Gareus 2022-10-13 17:48:59 +02:00
parent 4d4da13d55
commit 38a40d7c06
No known key found for this signature in database
GPG Key ID: A090BCE02CF57F04
1 changed files with 2 additions and 0 deletions

View File

@ -690,6 +690,8 @@ Session::destroy ()
/* drop GraphNode references */
_graph_chain.reset ();
_current_route_graph = GraphEdges ();
_io_graph_chain[0].reset ();
_io_graph_chain[1].reset ();