fix: state stale in integrations

This commit is contained in:
Carlos Valente
2024-04-27 20:17:37 +02:00
committed by Carlos Valente
parent 9e04a1dcfa
commit 189cee0104
2 changed files with 11 additions and 2 deletions
@@ -196,6 +196,8 @@ class RuntimeService {
const success = runtimeState.load(event, timedEvents);
if (success) {
// TODO: dispatch should happen after store update
// currently store update is handled in TimerService only
integrationService.dispatch(TimerLifeCycle.onLoad);
logger.info(LogOrigin.Playback, `Loaded event with ID ${event.id}`);
}