Skip to content

async_hooks: ensure event after been emitted on runInAsyncScope

Also removes a duplicated case test-emit-after-uncaught-exception-runInAsyncScope.js which is identical to test-emit-after-uncaught-exception.js.

The exception handler user-defined will not automatically emit after for the async resource.

Fixes: #31783 (closed) Related: #30965

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