diff options
author | Robin Gareus <robin@gareus.org> | 2019-07-15 00:55:51 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-07-15 00:55:51 +0200 |
commit | 45f1220aa5bcfd7b2dd4a064a4ba6683f4f6e27f (patch) | |
tree | f194f7bf4dab418e883919206b9e716469aa13d6 /libs | |
parent | 53c677e08fffb04897de0a9bb7d9ee0f65ede3f2 (diff) |
Fix deadlock when removing routes (initialization issues)
_setup_chain needs to point to the unused graph-chain, and not
_current_chain. Otherwise Graph::clear_other_chain() waits forever.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/graph.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index 45edd1ebbc..1d6218917e 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -62,7 +62,7 @@ Graph::Graph (Session& session) , _graph_empty (true) , _current_chain (0) , _pending_chain (0) - , _setup_chain (0) + , _setup_chain (1) { g_atomic_int_set (&_terminal_refcnt, 0); g_atomic_int_set (&_terminate, 0); |