node/lib/internal/async_local_storage
Chengzhong Wu 8e7ae60e3b
async_hooks: enable AsyncLocalStorage once constructed
This fixes the leak behavior when using `enterWith` when no
`AsyncLocalStorage`s were enabled inside a promise.

PR-URL: https://github.com/nodejs/node/pull/58029
Fixes: https://github.com/nodejs/node/issues/53037
Refs: https://github.com/nodejs/node/pull/58019
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-04-27 21:43:28 +00:00
..
async_context_frame.js lib: add defaultValue and name options to AsyncLocalStorage 2025-04-07 13:41:18 -07:00
async_hooks.js async_hooks: enable AsyncLocalStorage once constructed 2025-04-27 21:43:28 +00:00