mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
proxy: improve proxy cleanup
When we destroy a proxy, mark it as zombie until the server removes the id. This way we can still keep the id locked with a valid entry and remove it later.
This commit is contained in:
parent
d86e462dca
commit
35f617157f
4 changed files with 26 additions and 16 deletions
|
|
@ -655,6 +655,8 @@ struct pw_proxy {
|
|||
struct spa_list link; /**< link in the remote */
|
||||
|
||||
uint32_t id; /**< client side id */
|
||||
unsigned int zombie:1; /**< proxy is removed locally and waiting to
|
||||
* be removed from server */
|
||||
unsigned int removed:1; /**< proxy was removed from server */
|
||||
|
||||
struct spa_hook_list listener_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue