pulse-server: after new event, clear changes

Remove any pending changes after we emited the new event.
This commit is contained in:
Wim Taymans 2020-11-24 19:29:49 +01:00
parent a65d4d04c3
commit 3d6e87832d

View file

@ -598,6 +598,7 @@ static void on_core_done(void *data, uint32_t id, int seq)
if (o->this.creating) { if (o->this.creating) {
o->this.creating = false; o->this.creating = false;
manager_emit_added(m, &o->this); manager_emit_added(m, &o->this);
o->this.changed = 0;
} else if (o->this.changed > 0) { } else if (o->this.changed > 0) {
manager_emit_updated(m, &o->this); manager_emit_updated(m, &o->this);
o->this.changed = 0; o->this.changed = 0;