Files
node/lib/internal
Anna Henningsen 7fa5157497 module: do not use process.exit()
Inside workers, using stdio is always asynchronous, so using
`process.exit()` always interrupts sending of messages to the
parent thread, including error messages presented over stdio.

Do not use `process.exit()` and instead trigger a “real”
uncaught exception.

PR-URL: https://github.com/nodejs/node/pull/25769
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-01-30 18:17:26 +01:00
..
2019-01-18 14:55:29 +01:00
2019-01-27 17:20:13 +01:00
2019-01-30 18:17:26 +01:00
2018-12-10 17:07:18 +01:00
2019-01-27 03:34:25 +01:00
2019-01-04 19:27:38 +01:00
2018-05-18 15:25:41 +02:00
2019-01-18 10:36:39 +05:30
2018-11-16 21:56:29 +09:00
2018-11-26 20:34:32 +05:30
2018-08-12 10:44:53 -07:00
2018-05-18 15:25:41 +02:00
2019-01-09 01:38:54 +01:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.