You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: prevent duplicate MCP server instances on refresh
- Add proper cleanup delays in restartConnection and refreshAllConnections
- Ensure transport and client are properly closed before creating new connections
- Fix race condition where new connections were created before old ones were fully cleaned up
- Maintain backward compatibility with existing tests
Fixes issue where refreshing MCP servers or individual server refresh was causing duplicate instances without cleaning up the old ones.
0 commit comments