src: move process.reallyExit impl into node_process_methods.cc
Because the part that is shared by process.reallyExit
and the
Node.js teardown is WaitForInspectorDisconnect()
, move that
into node_internals.h instead, and move the C++ binding code
into node_process_methods.cc
since that's the only place
it's needed.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines