From b86e2f102ff6b3f704fcd9f8c8046aac455834cf Mon Sep 17 00:00:00 2001 From: Chris Ham Date: Sun, 28 Oct 2018 10:53:16 -0700 Subject: [PATCH] clear video timer on stream ending --- lib/fgfm.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/fgfm.js b/lib/fgfm.js index f48c325..ba053ec 100755 --- a/lib/fgfm.js +++ b/lib/fgfm.js @@ -67,6 +67,8 @@ function FGFM(config) { console.log(`Credits will be shown in ${creditsDelaySeconds} seconds!`); let end = () => { + clearTimeout(this.state.videoTimer); + this.state.showStatus = 'ENDING'; this.obs.switchToScene('credits')