daemon: remove connections instead of hidding them if graph is not persisted
commitcd98f2380493ed53c28ea71a3911d92214a64040
authorNedko Arnaudov <nedko@arnaudov.name>
Sun, 9 May 2010 13:13:52 +0000 (9 16:13 +0300)
committerNedko Arnaudov <nedko@arnaudov.name>
Sun, 9 May 2010 13:13:52 +0000 (9 16:13 +0300)
treed24840f9103c13dbff4d5f355411116e820c2070
parentd8135a5117a1a0bd446433e28ee10e8c22c5d487
daemon: remove connections instead of hidding them if graph is not persisted

This is needed to properly cleanup room graph during room destruction.
ladish_graph_is_empty() returns false if there are hidden connections.
Also it makes no sense to have hidden connections for removed ports
daemon/graph.c