mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
clean the hook lists
Make sure the hook lists are emptied so that the removed callbacks are called. The callers should really remove the hook they installed themselves but this is a last chance to fix things up.
This commit is contained in:
parent
1570e62635
commit
a2549fc638
21 changed files with 47 additions and 0 deletions
|
|
@ -239,6 +239,7 @@ endpoint_init(struct endpoint * self)
|
|||
static void
|
||||
endpoint_clear(struct endpoint * self)
|
||||
{
|
||||
spa_hook_list_clean(&self->hooks);
|
||||
pw_properties_free(self->properties);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue