Skip to content

Commit 1abcec7

Browse files
Fix deviceDetectionInterval (#2503)
It looks like there's some kind of a problem when a Promise is resolved in unref-ed setInterval. Node.js suddenly thinks the process has no more work to do and does not wait for deviceDetectionInterval. So fix this by calling unref once the Promise is resolved. This allows consecutive executions of setInterval. This also fixe `<cli name> device` command.
1 parent 456a0d6 commit 1abcec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0 commit comments

Comments
 (0)