Skip to content

timers: fix setTimeout expiration logic

Rodrigo Muino Tomonari requested to merge github/fork/suguru03/fix-timer into master

I fixed the setTimeout issue. I changed the logic to be the same logic as v10.30.0 following the lines. https://github.com/nodejs/node/blob/v10.13.0/lib/timers.js#L240-L243

Fixes: https://github.com/nodejs/node/issues/24203

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading