aboutsummaryrefslogtreecommitdiff
path: root/src/timer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.ts')
-rw-r--r--src/timer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.ts b/src/timer.ts
index ea7d34470..d3bb5d485 100644
--- a/src/timer.ts
+++ b/src/timer.ts
@@ -33,7 +33,7 @@ class IntervalHandle {
}
clear() {
- clearTimeout(this.h);
+ clearInterval(this.h);
}
}