mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
c45313b3ad
The refcount of the internal communication port is relevant for stdio, but the `port.unref()` call effectively resets any `.ref()` calls happening during stdio operations happening before it. Therefore, do the `.unref()` call before loading preload modules, which may cause stdio operations. Fixes: https://github.com/nodejs/node/issues/31777 PR-URL: https://github.com/nodejs/node/pull/33455 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> |
||
---|---|---|
.. | ||
.eslintrc.yaml | ||
check_syntax.js | ||
eval_stdin.js | ||
eval_string.js | ||
inspect.js | ||
print_help.js | ||
prof_process.js | ||
repl.js | ||
run_main_module.js | ||
run_third_party_main.js | ||
worker_thread.js |