Skip to content

embedding: provide hook for custom process.exit() behaviour

Embedders may not want to terminate the process when process.exit() is called. This provides a hook for more flexible handling of that situation.

Refs: https://github.com/nodejs/node/pull/30467#issuecomment-603689644 (/cc @linroid)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading