Open stevium opened 2 years ago
Since the first call to window.setTimeout or window.setInterval is returning handle with ID 1 calling Sockette.close would unexpectedly clear that timeout, because timer=1 is still a valid handle ID.
window.setTimeout
window.setInterval
1
Sockette.close
timer=1
Since the first call to
window.setTimeout
orwindow.setInterval
is returning handle with ID1
callingSockette.close
would unexpectedly clear that timeout, becausetimer=1
is still a valid handle ID.