(child)
| 164 | } |
| 165 | |
| 166 | destroyIPC(child) { |
| 167 | const handlers = this.#ipcHandlers.get(child); |
| 168 | if (this.#passthroughIPC && handlers !== undefined) { |
| 169 | process.off('message', handlers.parentToChild); |
| 170 | child.off('message', handlers.childToParent); |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | watchChildProcessModules(child, key = null) { |
| 175 | if (this.#passthroughIPC) { |