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.
This commit is contained in:
parent
53c677e08f
commit
45f1220aa5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user