Stops a proxy process that has not been sent any command, or has stopped answering.
(cause: Error)
| 352 | |
| 353 | /** Stops a proxy process that has not been sent any command, or has stopped answering. */ |
| 354 | private stop(cause: Error): void { |
| 355 | // Its exit has not been seen, so its ID has not been reused |
| 356 | this.child?.kill("SIGKILL") |
| 357 | this.end(cause) |
| 358 | } |
| 359 | |
| 360 | private send(message: unknown): void { |
| 361 | if (this.child?.connected !== true) return |