()
| 106 | } |
| 107 | |
| 108 | async stop(): Promise<void> { |
| 109 | if (this.messageListener) { |
| 110 | process.off("message", this.messageListener); |
| 111 | this.messageListener = undefined; |
| 112 | } |
| 113 | |
| 114 | if (this.started) { |
| 115 | console.log("[IpcAdapter] Stopped"); |
| 116 | } |
| 117 | this.started = false; |
| 118 | } |
| 119 | |
| 120 | notifyReady(port: number): void { |
| 121 | this.sendIpc({ |