fix: address review-work round 6 findings (dispose isolation, event dispatch, disconnectedSessions ref-counting)

This commit is contained in:
YeonGyu-Kim
2026-03-12 00:28:19 +09:00
parent cf276322a3
commit f564404015
9 changed files with 91 additions and 6 deletions
@@ -25,6 +25,7 @@ function createState(): SkillMcpManagerState {
cleanupHandlers: [],
idleTimeoutMs: 5 * 60 * 1000,
shutdownGeneration: 0,
inFlightConnections: new Map(),
}
trackedStates.push(state)