(exitCode = 0)
| 317 | let shuttingDown = false |
| 318 | |
| 319 | function shutdown(exitCode = 0) { |
| 320 | if (shuttingDown) return |
| 321 | shuttingDown = true |
| 322 | for (const child of children) { |
| 323 | killProcess(child) |
| 324 | } |
| 325 | process.exitCode = exitCode |
| 326 | } |
| 327 | |
| 328 | for (const child of children) { |
| 329 | child.on('error', (error) => { |
no test coverage detected