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

Function wrappedCleanup

src/services/mcp/client.ts:1577–1580  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1575
1576 // Create the wrapped cleanup that includes unregistering
1577 const wrappedCleanup = async () => {
1578 cleanupUnregister?.()
1579 await cleanup()
1580 }
1581
1582 const connectionDurationMs = Date.now() - connectStartTime
1583 logEvent('tengu_mcp_server_connection_succeeded', {

Callers

nothing calls this directly

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected