diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-02-21 11:26:43 +0800 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-02-24 23:41:27 +0100 |
commit | b0869c64d179843575584e88583e5760202e118c (patch) | |
tree | 4b7d1e7606312dd330068c7d3b6f3769ae1f0d29 /deps/v8/test | |
parent | 34470b0524cf76fc3fee985f0b1bf0874a3c90bb (diff) | |
download | android-node-v8-b0869c64d179843575584e88583e5760202e118c.tar.gz android-node-v8-b0869c64d179843575584e88583e5760202e118c.tar.bz2 android-node-v8-b0869c64d179843575584e88583e5760202e118c.zip |
process: move initialization of node-report into pre_execution.js
- Splits signal handler setup code into two functions: one sets up
`process.on('SIGNAL_NAME')`, another takes care of the signal
triggers of node-report. Both should only happen on the main thread.
The latter needs to happen after the node-report configurations
are read into the process.
- Move the initialization of node-report into pre_execution.js
because it depends on CLI/environment settings.
PR-URL: https://github.com/nodejs/node/pull/26227
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'deps/v8/test')
0 files changed, 0 insertions, 0 deletions