0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/lib/internal/main
Joyee Cheung b0869c64d1
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>
2019-02-24 23:41:27 +01:00
..
.eslintrc.yaml
check_syntax.js src: move async hooks trace events setup to pre_execution.js 2019-02-21 10:47:24 +08:00
eval_stdin.js process: group main thread execution preparation code 2019-02-10 16:33:57 +08:00
eval_string.js process: group main thread execution preparation code 2019-02-10 16:33:57 +08:00
inspect.js
print_bash_completion.js
print_help.js lib: merge 'undefined' into one 'break' branch 2019-02-14 00:03:02 +01:00
prof_process.js
repl.js process: group main thread execution preparation code 2019-02-10 16:33:57 +08:00
run_main_module.js process: normalize process.argv before user code execution 2019-02-10 16:34:19 +08:00
run_third_party_main.js
worker_thread.js process: move initialization of node-report into pre_execution.js 2019-02-24 23:41:27 +01:00