Commit 0d212993 authored by Joyee Cheung's avatar Joyee Cheung Committed by Refael Ackermann
Browse files

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: https://github.com/nodejs/node/pull/26866
Fixes: https://github.com/nodejs/node/issues/26798
Refs: https://github.com/nodejs/node/pull/26859


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
parent 2b89ac68
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment