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