mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-06 04:48:10 +02:00
object-manager: emit the object-removed signal after the object is removed
This commit is contained in:
parent
7149745beb
commit
5ea7e6fc0b
1 changed files with 1 additions and 1 deletions
|
|
@ -845,8 +845,8 @@ wp_object_manager_rm_object (WpObjectManager * self, gpointer object)
|
|||
{
|
||||
guint index;
|
||||
if (g_ptr_array_find (self->objects, object, &index)) {
|
||||
g_signal_emit (self, signals[SIGNAL_OBJECT_REMOVED], 0, object);
|
||||
g_ptr_array_remove_index_fast (self->objects, index);
|
||||
g_signal_emit (self, signals[SIGNAL_OBJECT_REMOVED], 0, object);
|
||||
self->changed = TRUE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue