(exitCode, terminal)
| 499 | } |
| 500 | |
| 501 | finish(exitCode, terminal) { |
| 502 | if (this.finished) { return; } |
| 503 | debug('finish: exitCode=%d, terminal=%s', exitCode, terminal?.event); |
| 504 | this.finished = true; |
| 505 | if (this.timeout !== null) { |
| 506 | clearTimeout(this.timeout); |
| 507 | this.timeout = null; |
| 508 | } |
| 509 | this.resolveCompletion({ exitCode, terminal }); |
| 510 | } |
| 511 | |
| 512 | getProbeTargetExitEvent(exitCode, signal) { |
| 513 | const pending = this.getPendingProbeIndices(); |
no test coverage detected