Skip to content

Commit 36073b6

Browse files
pyoortysmith
authored andcommitted
fix: explicitly check that pollIntervall is null
1 parent 2e20ee6 commit 36073b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grizzly/common/harness.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
self.postMessage({type: 'poll'});
4646
}, 50);
4747
} else if (e.data.command === 'stop') {
48-
if (pollInterval) {
48+
if (pollInterval !== null) {
4949
clearInterval(pollInterval);
5050
pollInterval = null;
5151
}

0 commit comments

Comments
 (0)