MCPcopy Index your code
hub / github.com/nodejs/node / destroyIPC

Method destroyIPC

lib/internal/watch_mode/files_watcher.js:166–172  ·  view source on GitHub ↗
(child)

Source from the content-addressed store, hash-verified

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) {

Callers 1

stopFunction · 0.80

Calls 2

getMethod · 0.65
offMethod · 0.45

Tested by

no test coverage detected