We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c1c4b commit a3068c0Copy full SHA for a3068c0
1 file changed
src/master/implementation.node.ts
@@ -34,7 +34,7 @@ interface Terminable {
34
// Terminates the workers, empties the workers array, and exits.
35
const onSignal = (workers: Terminable[], signal: string) => {
36
Promise.all(workers.map(worker => worker.terminate())).then(
37
- () => process.exit(0),
+ () => process.exit(1),
38
() => process.exit(1),
39
)
40
workers.length = 0
0 commit comments