mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
core-proxy: improve cleanup
Also disconnect filters. Ignore multiple destroy calls. This can happen when the protocol destroys the core-proxy and some implementation cleanup code does the same. The cleanup code can't reliably know about this cleanup.
This commit is contained in:
parent
e27331a25e
commit
b5811280ef
2 changed files with 13 additions and 6 deletions
|
|
@ -753,6 +753,8 @@ struct pw_core_proxy {
|
|||
int recv_seq; /**< last received sequence number */
|
||||
int send_seq; /**< last protocol result code */
|
||||
|
||||
unsigned int destroyed:1;
|
||||
|
||||
void *user_data; /**< extra user data */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue