MCPcopy Create free account
hub / github.com/Noumena-Network/code / wrappedCleanup

Function wrappedCleanup

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected