fix: add disposed guard to MCP manager and guard unregister on pending connections

This commit is contained in:
YeonGyu-Kim
2026-03-12 00:51:02 +09:00
parent f564404015
commit aa1aad3bb1
6 changed files with 11 additions and 2 deletions
@@ -18,6 +18,7 @@ export class SkillMcpManager {
idleTimeoutMs: 5 * 60 * 1000,
shutdownGeneration: 0,
inFlightConnections: new Map(),
disposed: false,
}
private getClientKey(info: SkillMcpClientInfo): string {