From 855403b09357e0da424f926edc414322886dec34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Ocetn=C3=ADk?= Date: Sun, 18 Nov 2018 20:30:52 +0100 Subject: [PATCH] Fix clearTimeout --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 72152b4..545aaa1 100644 --- a/index.js +++ b/index.js @@ -59,7 +59,7 @@ class BackgroundTimer { stopBackgroundTimer() { this.stop(); - clearTimeout(this.backgroundTimer); + this.clearTimeout(this.backgroundTimer); } // New API, allowing for multiple timers