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:
Wim Taymans 2023-08-08 13:01:30 +02:00
parent 6d59ad21c2
commit 820ca90705

View file

@ -641,9 +641,10 @@ static void registry_event_global_remove(void *data, uint32_t id)
o->this.removing = true;
if (!o->this.creating)
if (!o->this.creating) {
o->this.change_mask = ~0;
manager_emit_removed(m, &o->this);
}
object_destroy(o);
}