fix: add disposed guard to MCP manager and guard unregister on pending connections
This commit is contained in:
@@ -26,6 +26,7 @@ function createState(): SkillMcpManagerState {
|
||||
idleTimeoutMs: 5 * 60 * 1000,
|
||||
shutdownGeneration: 0,
|
||||
inFlightConnections: new Map(),
|
||||
disposed: false,
|
||||
}
|
||||
|
||||
trackedStates.push(state)
|
||||
|
||||
Reference in New Issue
Block a user