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

Method handleSocketClose

src/mcp/transport.ts:427–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425 }
426
427 private handleSocketClose(): void {
428 if (this.stopped) return;
429 this.stopped = true;
430 this.rejectPending('Socket closed');
431 for (const h of this.closeHandlers) {
432 try { h(); } catch { /* never let a close-handler take the daemon down */ }
433 }
434 this.closeHandlers = [];
435 }
436}

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected