Skip to content

src: remove a stale comment in `async_hooks`

This removes a comment relevant to runtime checks for async_hooks.

Even if async_hooks is experimental, the check pointed by the comment is performed as default unless --no-force-async-hooks-checks is given from CLI arguments.

Refs: https://github.com/nodejs/node/pull/16318 Refs: https://github.com/nodejs/node/pull/15454#issuecomment-337840053

Plus, the comment conflicts with the following L1071. https://github.com/nodejs/node/blob/45d7ca95cd53bbf4045182d5d3419955185e87a1/src/env.cc#L1071-L1076

Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com

Merge request reports

Loading