jack: don't wait for activation update

We could do an invoke, wait, then the process could do a jack_connect()
, do_sync and we deadlock. it's probably better to not wait for
completion.
This commit is contained in:
Wim Taymans 2022-04-26 20:32:25 +02:00
parent 838ab996d0
commit f641e4ecb3

View file

@ -1641,8 +1641,7 @@ static int update_driver_activation(struct client *c)
link = find_activation(&c->links, c->driver_id);
c->driver_activation = link ? link->activation : NULL;
pw_data_loop_invoke(c->loop,
do_update_driver_activation, SPA_ID_INVALID, NULL, 0,
!c->data_locked, c);
do_update_driver_activation, SPA_ID_INVALID, NULL, 0, false, c);
install_timeowner(c);
return 0;