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 0ebe1d5b1b
commit 6fa0943776
6 changed files with 11 additions and 2 deletions
@@ -81,6 +81,7 @@ function createState(): SkillMcpManagerState {
idleTimeoutMs: 5 * 60 * 1000,
shutdownGeneration: 0,
inFlightConnections: new Map(),
disposed: false,
}
trackedStates.push(state)