media-session: improve cleanup

This commit is contained in:
Wim Taymans 2019-12-17 10:47:31 +01:00
parent 98c81fff93
commit 05f93cd750
8 changed files with 65 additions and 17 deletions

View file

@ -403,6 +403,8 @@ static void proxy_destroy(void *data)
pw_properties_free(endpoint->props);
spa_list_remove(&endpoint->link);
spa_hook_remove(&endpoint->proxy_listener);
spa_hook_remove(&endpoint->listener);
}
static void proxy_bound(void *data, uint32_t id)