mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
media-session: remove object when proxy is destroyed
This commit is contained in:
parent
698ab911c3
commit
7c3d58a909
1 changed files with 2 additions and 0 deletions
|
|
@ -885,6 +885,8 @@ destroy_proxy(void *data)
|
||||||
|
|
||||||
sm_media_session_emit_remove(impl, obj);
|
sm_media_session_emit_remove(impl, obj);
|
||||||
|
|
||||||
|
remove_object(impl, obj);
|
||||||
|
|
||||||
if (obj->destroy)
|
if (obj->destroy)
|
||||||
obj->destroy(obj);
|
obj->destroy(obj);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue