fix: add disposed guard to MCP manager and guard unregister on pending connections
This commit is contained in:
@@ -18,6 +18,7 @@ export class SkillMcpManager {
|
||||
idleTimeoutMs: 5 * 60 * 1000,
|
||||
shutdownGeneration: 0,
|
||||
inFlightConnections: new Map(),
|
||||
disposed: false,
|
||||
}
|
||||
|
||||
private getClientKey(info: SkillMcpClientInfo): string {
|
||||
|
||||
Reference in New Issue
Block a user