From 85f9bb1d3427814a1d66735c9effe4da1a268c45 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Mon, 19 Aug 2019 22:26:49 -0400 Subject: [PATCH] Removed setInterval when removing the notice. --- utils/skipNotice.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/skipNotice.js b/utils/skipNotice.js index e57a56e2..511baf4a 100644 --- a/utils/skipNotice.js +++ b/utils/skipNotice.js @@ -359,6 +359,9 @@ class SkipNotice { if (notice != null) { notice.remove(); } + + //remove setInterval + if (this.countdownInterval != -1) clearInterval(this.countdownInterval); } } \ No newline at end of file