MCPcopy
hub / github.com/sindresorhus/execa / removeReferenceCount

Function removeReferenceCount

lib/ipc/reference.js:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24const removeReferenceCount = channel => {
25 channel.unrefCounted();
26};
27
28// To proxy events, we setup some global listeners on the `message` and `disconnect` events.
29// Those should not keep the subprocess alive, so we remove the automatic counting that Node.js is doing.

Callers 2

removeReferenceFunction · 0.85
undoAddedReferencesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…