MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / onClose

Function onClose

src/mcp/proxy.ts:485–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

483 };
484 const onError = (err: Error) => { cleanup(); reject(err); };
485 const onClose = () => { cleanup(); reject(new Error('daemon closed connection before hello')); };
486 const timer = setTimeout(() => {
487 cleanup();
488 reject(new Error('timed out waiting for daemon hello'));

Callers

nothing calls this directly

Calls 1

cleanupFunction · 0.85

Tested by

no test coverage detected