MCPcopy Create free account
hub / github.com/codeaashu/claude-code / dispose

Function dispose

src/server/web/__tests__/session-manager.test.ts:14–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 onData(handler: (data: string) => void) {
13 mockPty._dataHandler = handler;
14 return { dispose() {} };
15 },
16 onExit(handler: (e: { exitCode: number; signal: number }) => void) {
17 mockPty._exitHandler = handler;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected