src: schedule destroy hooks in BeforeExit early during bootstrap
Instead of doing it in the `internalBinding('async_wrap')`
initialization whose first call is uncertain depending on how
the native modules are loaded in JS land during bootstrap.
PR-URL: https://github.com/nodejs/node/pull/25020
Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By:
James M Snell <jasnell@gmail.com>
Reviewed-By:
Anna Henningsen <anna@addaleax.net>
parent
321e2963
Please register or sign in to comment