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

Function unregisterAgent

src/utils/telemetry/perfettoTracing.ts:416–420  ·  view source on GitHub ↗
(agentId: string)

Source from the content-addressed store, hash-verified

414 * Call this when an agent completes, fails, or is aborted to free memory.
415 */
416export function unregisterAgent(agentId: string): void {
417 if (!isEnabled) return
418 agentRegistry.delete(agentId)
419 agentIdToProcessId.delete(agentId)
420}
421
422/**
423 * Start an API call span

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected