jack: improve shutdown

This commit is contained in:
Wim Taymans 2019-10-21 16:06:27 +02:00
parent 128a8e6c3c
commit b284988755
2 changed files with 14 additions and 5 deletions

View file

@ -48,6 +48,9 @@ static void jack_shutdown(void* arg)
struct spa_jack_client *client = arg;
spa_jack_client_emit_shutdown(client);
spa_hook_list_init(&client->listener_list);
client->client = NULL;
}
static int status_to_result(jack_status_t status)