mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pulse-server: set all change_mask flags when removing
So that the logic to emit events will select sink and source objects. Fixes #3414
This commit is contained in:
parent
6d59ad21c2
commit
820ca90705
1 changed files with 3 additions and 2 deletions
|
|
@ -641,9 +641,10 @@ static void registry_event_global_remove(void *data, uint32_t id)
|
||||||
|
|
||||||
o->this.removing = true;
|
o->this.removing = true;
|
||||||
|
|
||||||
if (!o->this.creating)
|
if (!o->this.creating) {
|
||||||
|
o->this.change_mask = ~0;
|
||||||
manager_emit_removed(m, &o->this);
|
manager_emit_removed(m, &o->this);
|
||||||
|
}
|
||||||
object_destroy(o);
|
object_destroy(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue