mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
proxy: only call destroy once
Make sure only emit destroy once by making the proxy a zombie from the first call to destroy. Also make sure we don't call destroy twice without remove.
This commit is contained in:
parent
3c846fbb1d
commit
98c81fff93
2 changed files with 12 additions and 2 deletions
|
|
@ -740,6 +740,7 @@ struct pw_proxy {
|
|||
unsigned int zombie:1; /**< proxy is removed locally and waiting to
|
||||
* be removed from server */
|
||||
unsigned int removed:1; /**< proxy was removed from server */
|
||||
unsigned int destroyed:1; /**< proxy was destroyed by client */
|
||||
|
||||
struct spa_hook_list listener_list;
|
||||
struct spa_hook_list object_listener_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue