refactor: only broadcast public

This commit is contained in:
Carlos Valente
2024-08-10 14:35:42 +02:00
committed by Carlos Valente
parent 66ed92e215
commit d3620b52f4
2 changed files with 84 additions and 40 deletions
@@ -241,7 +241,7 @@ function notifyChanges(options: { timer?: boolean | string[]; external?: boolean
// notify timer service of changed events
// timer can be true or an array of changed IDs
const affected = Array.isArray(options.timer) ? options.timer : undefined;
runtimeService.maybeUpdate(affected);
runtimeService.notifyOfChangedEvents(affected);
}
}