mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
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:
parent
838ab996d0
commit
f641e4ecb3
1 changed files with 1 additions and 2 deletions
|
|
@ -1641,8 +1641,7 @@ static int update_driver_activation(struct client *c)
|
||||||
link = find_activation(&c->links, c->driver_id);
|
link = find_activation(&c->links, c->driver_id);
|
||||||
c->driver_activation = link ? link->activation : NULL;
|
c->driver_activation = link ? link->activation : NULL;
|
||||||
pw_data_loop_invoke(c->loop,
|
pw_data_loop_invoke(c->loop,
|
||||||
do_update_driver_activation, SPA_ID_INVALID, NULL, 0,
|
do_update_driver_activation, SPA_ID_INVALID, NULL, 0, false, c);
|
||||||
!c->data_locked, c);
|
|
||||||
install_timeowner(c);
|
install_timeowner(c);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue