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
@@ -134,6 +134,7 @@ export async function disconnectAll(state: SkillMcpManagerState): Promise<void>
state.clients.clear()
state.pendingConnections.clear()
state.disconnectedSessions.clear()
state.inFlightConnections.clear()
state.authProviders.clear()
for (const managed of clients) {