Use clearInterval to clear the stopwatch interval
This commit is contained in:
@@ -422,7 +422,7 @@
|
||||
Bangle.removeListener('twist', handleTwist);
|
||||
if (drawTimer) clearTimeout(drawTimer);
|
||||
drawTimer = undefined;
|
||||
if (stopWatchTimer) clearTimeout(stopWatchTimer);
|
||||
if (stopWatchTimer) clearInterval(stopWatchTimer);
|
||||
stopWatchTimer = undefined;
|
||||
|
||||
paintFace = undefined; // http request may resolve after font's been unloaded, so unset
|
||||
|
||||
Reference in New Issue
Block a user