fix: stop timer on rundown switch

This commit is contained in:
arc-alex
2025-12-10 21:48:36 +01:00
committed by Carlos Valente
parent 9355d7bf27
commit f0e81c0cf0
@@ -605,6 +605,7 @@ export async function initRundown(
customFields: Readonly<CustomFields>,
reload: boolean = false,
) {
runtimeService.stop();
const { rundownMetadata, revision } = rundownCache.init(rundown, customFields);
logger.info(LogOrigin.Server, `Switch to rundown: ${rundown.id}`);
// notify runtime that rundown has changed