Skip to content

async_hooks: make sure `.{en|dis}able() === this`

Make sure that hook.enable() and hook.disable() return hook consistently, as the documentation indicates.

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

async_hooks /cc @nodejs/async_hooks

Merge request reports

Loading