On Sat, Jan 31, 2004 at 12:28:56 +0000, Steve Harris wrote:
I did notice
that the graph_order_callback was being called, but the
process of trying to figure out if a port has actually disappeared (or
something has just been connected) is both really gross and really
inefficient.
Having looked at it some more I dont think it is a bug - I dont think a
client dosconnecting completely counts as deregistering.
Wether it should or not I dont know. I'm doing some more testing.
If you apply the patch at the end of this mail I think it should turn it
on, but I cant test it for various reasons.
- Steve
--- jackd/engine.c 13 Jan 2004 15:11:27 -0000 1.80
+++ jackd/engine.c 31 Jan 2004 01:07:26 -0000
@@ -1503,6 +1503,7 @@
for (node = client->ports; node; node = jack_slist_next (node)) {
port = (jack_port_internal_t *) node->data;
jack_port_clear_connections (engine, port);
+ jack_port_registration_notify (engine, port->shared->id, FALSE);
jack_port_release (engine, port);
}