Skip to content

Commit c1fe0c6

Browse files
committed
🐛 Explicitly set interval to null after clearing it
1 parent 8f94e9d commit c1fe0c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

elements/providers/playback/playback-spotilocal.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
}
6262

6363
play(ref) {
64-
this._interval = clearInterval(this._interval);
64+
clearInterval(this._interval);
65+
this._interval = null;
6566

6667
return this._withSpotify(s => {
6768
if (ref) {

0 commit comments

Comments
 (0)