diff --git a/configure.in b/configure.in index 8bcc7f7..01bf294 100644 --- a/configure.in +++ b/configure.in @@ -14,7 +14,7 @@ dnl changes are made dnl --- JACK_MAJOR_VERSION=0 JACK_MINOR_VERSION=44 -JACK_MICRO_VERSION=0 +JACK_MICRO_VERSION=1 dnl --- dnl HOWTO: updating the libjack interface version diff --git a/jackd/engine.c b/jackd/engine.c index bb73cd0..ec889ac 100644 --- a/jackd/engine.c +++ b/jackd/engine.c @@ -3196,14 +3196,16 @@ jack_send_connection_notification (jack_engine_t *engine, jack_client_id_t clien return -1; } - event.type = (connected ? PortConnected : PortDisconnected); - event.x.self_id = self_id; - event.y.other_id = other_id; - - if (jack_deliver_event (engine, client, &event)) { - jack_error ("cannot send port connection notification to client %s (%s)", - client->control->name, strerror (errno)); - return -1; + if (client->control->active) { + event.type = (connected ? PortConnected : PortDisconnected); + event.x.self_id = self_id; + event.y.other_id = other_id; + + if (jack_deliver_event (engine, client, &event)) { + jack_error ("cannot send port connection notification to client %s (%s)", + client->control->name, strerror (errno)); + return -1; + } } return 0;