MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / close

Method close

packages/mcp/src/session-manager.ts:51–53  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

49 }
50
51 async close(id: string): Promise<void> {
52 await this.deleteContext(id);
53 }
54
55 async destroy(): Promise<void> {
56 // No-op: sessions are in Redis, not in-process

Callers 15

streamNdjsonMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
exitHandlerFunction · 0.80
wsProjectEventsFunction · 0.80
wsProjectNotificationsFunction · 0.80
wsOrganizationEventsFunction · 0.80
shutdownFunction · 0.80
mcpRouterFunction · 0.80
test-setup.tsFile · 0.80

Calls 1

deleteContextMethod · 0.95

Tested by

no test coverage detected