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

Function onClose

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

Source from the content-addressed store, hash-verified

693 };
694 const onError = (err: Error) => { cleanup(); reject(err); };
695 const onClose = () => { cleanup(); reject(new Error('daemon closed connection before hello')); };
696 const timer = setTimeout(() => {
697 cleanup();
698 reject(new Error('timed out waiting for daemon hello'));

Callers

nothing calls this directly

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected