mirror of
https://github.com/nodejs/node.git
synced 2025-05-18 13:11:42 +00:00
![]() This commit prevents child process stdio streams from being automatically flushed on child process exit/close if a 'readable' event handler has been attached at the time of exit. Without this, child process stdio data can be lost if the process exits quickly and a `read()` (e.g. from a 'readable' handler) hasn't had the chance to get called yet. Fixes: https://github.com/nodejs/node/issues/5034 PR-URL: https://github.com/nodejs/node/pull/5036 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
---|---|---|
.. | ||
streams | ||
child_process.js | ||
cluster.js | ||
freelist.js | ||
linkedlist.js | ||
module.js | ||
net.js | ||
readline.js | ||
readme.md | ||
repl.js | ||
socket_list.js | ||
util.js | ||
v8_prof_polyfill.js | ||
v8_prof_processor.js |
Internal Modules
The modules in lib/internal
are intended for internal use in Node.js core only, and are not accessible with require()
from user modules.
These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.