(code, signal)
| 121 | } |
| 122 | |
| 123 | private onExit(code, signal) { |
| 124 | ServerConsoleLog(`GDBServer(${this.pid}): exited code=${code} signal=${signal}`); |
| 125 | currentServers = currentServers.filter((p) => p !== this); |
| 126 | this.process = null; |
| 127 | if (this.exitTimeout) { |
| 128 | clearTimeout(this.exitTimeout); |
| 129 | this.exitTimeout = null; |
| 130 | } |
| 131 | this.emit('exit', code, signal); |
| 132 | this.disconnectConsole(); |
| 133 | } |
| 134 | |
| 135 | private onError(err) { |
| 136 | if (this.initReject) { |
nothing calls this directly
no test coverage detected