clean up listeners

This commit is contained in:
Wim Taymans 2018-05-17 17:30:30 +02:00
parent 69d4144932
commit 6450c64542
3 changed files with 3 additions and 0 deletions

View file

@ -52,6 +52,7 @@ static void node_destroy(void *data)
{
struct node_data *nd = data;
spa_list_remove(&nd->link);
spa_hook_remove(&nd->node_listener);
}
static const struct pw_node_events node_events = {