process: load internal/async_hooks before inspector hooks registration · nodejs/node@41761cc · GitHub
Skip to content

Commit 41761cc

Browse files
joyeecheungtargos
authored andcommitted
process: load internal/async_hooks before inspector hooks registration
Otherwise the exports of `internal/async_hooks` may be undefined when the inspector async hooks are registered. PR-URL: #26866 Fixes: #26798 Refs: #26859 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 08383a7 commit 41761cc

2 files changed

Lines changed: 17 additions & 10 deletions

File tree

lib/internal/async_hooks.js

Lines changed: 7 additions & 10 deletions

lib/internal/bootstrap/node.js

Lines changed: 10 additions & 0 deletions

0 commit comments

Comments
 (0)