Calling clearImmediate
on setTimeout
return value can make future setTimeout
callbacks never run
#57063
Labels
timers
Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout.
Version
v23.3.0
Platform
Subsystem
timers
What steps will reproduce the bug?
Run the following script:
How often does it reproduce? Is there a required condition?
Reproduces every time
What is the expected behavior? Why is that the expected behavior?
The first timeout should be cleared, and the second two should run because they were not cleared.
What do you see instead?
The last
setTimeout
callback never runs:Additional information
No response
The text was updated successfully, but these errors were encountered: