child_process: fire close event from stdio
Event of close does not fire when giving for stdio option that type is wrap. For example, if we set event listener to net.server and giving child_process, that events never fire.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines