mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
client-node: also don't remove our own activation
.. because we don't add it.
This commit is contained in:
parent
8f01dd4c75
commit
ae457625d3
1 changed files with 4 additions and 2 deletions
|
|
@ -1557,8 +1557,10 @@ static void node_peer_removed(void *data, struct pw_node *peer)
|
|||
struct node *this = &impl->node;
|
||||
struct pw_memblock *m;
|
||||
|
||||
m = pw_mempool_find_fd(this->client->pool,
|
||||
peer->activation->fd);
|
||||
if (peer == impl->this.node)
|
||||
return;
|
||||
|
||||
m = pw_mempool_find_fd(this->client->pool, peer->activation->fd);
|
||||
if (m == NULL) {
|
||||
pw_log_warn(NAME " %p: unknown peer %p fd:%d", this, peer,
|
||||
peer->source.fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue