mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
link-factory: clear links when client dies
This commit is contained in:
parent
61cc453cbe
commit
f57d1125f6
2 changed files with 59 additions and 4 deletions
|
|
@ -80,8 +80,7 @@ static const struct pw_resource_events resource_events = {
|
|||
static void node_destroy(void *data)
|
||||
{
|
||||
struct node_data *nd = data;
|
||||
spa_list_remove(&nd->link);
|
||||
spa_hook_remove(&nd->resource_listener);
|
||||
nd->dsp = NULL;
|
||||
}
|
||||
|
||||
static const struct pw_node_events node_events = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue