MCPcopy Index your code
hub / github.com/codeaashu/claude-code / cleanup

Function cleanup

src/screens/REPL.tsx:2300–2303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2298 // the remote prompt and unsubscribe when the local user
2299 // responds first.
2300 const cleanup = () => {
2301 unsubscribe();
2302 bridgeCallbacks.cancelRequest(bridgeRequestId);
2303 };
2304 const existing = sandboxBridgeCleanupRef.current.get(hostPattern.host) ?? [];
2305 existing.push(cleanup);
2306 sandboxBridgeCleanupRef.current.set(hostPattern.host, existing);

Callers 2

ThemeProviderFunction · 0.50
requestMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected