Skip to content

timers: add default value to Timeout 'after' param

Multiplying 'after' by 1 converted the potentially undefined value to NaN which is treated as falsy in the subsequent boolean evaluations. The default value of 1 should more expressively control for undefined 'after' argument

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows [commit guidelines]

Merge request reports

Loading