mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-15 20:32:38 +00:00
media-session: remove listener
This commit is contained in:
parent
77bd687bac
commit
64067bafe3
|
@ -108,6 +108,7 @@ handle_client(struct impl *impl, struct sm_object *object)
|
|||
static void destroy_client(struct impl *impl, struct client *client)
|
||||
{
|
||||
spa_list_remove(&client->link);
|
||||
spa_hook_remove(&client->listener);
|
||||
sm_object_remove_data((struct sm_object*)client->obj, SESSION_KEY);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue