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

Function cleanup

src/utils/combinedAbortSignal.ts:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 signalB?.addEventListener('abort', abortCombined)
39
40 const cleanup = () => {
41 if (timer !== undefined) clearTimeout(timer)
42 signal?.removeEventListener('abort', abortCombined)
43 signalB?.removeEventListener('abort', abortCombined)
44 }
45
46 return { signal: combined.signal, cleanup }
47}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected