File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -657,8 +657,7 @@ def _cleanup_orphaned_mappings_locked(self) -> int:
657657
658658 # Remove orphaned MCP session mappings
659659 orphaned_mcp = [
660- sid for sid in self ._mcp_session_mapping
661- if sid not in valid_mcp_session_ids
660+ sid for sid in self ._mcp_session_mapping if sid not in valid_mcp_session_ids
662661 ]
663662 for sid in orphaned_mcp :
664663 del self ._mcp_session_mapping [sid ]
@@ -668,8 +667,7 @@ def _cleanup_orphaned_mappings_locked(self) -> int:
668667 # Remove orphaned auth bindings
669668 valid_bindings = valid_session_ids | valid_mcp_session_ids
670669 orphaned_bindings = [
671- sid for sid in self ._session_auth_binding
672- if sid not in valid_bindings
670+ sid for sid in self ._session_auth_binding if sid not in valid_bindings
673671 ]
674672 for sid in orphaned_bindings :
675673 del self ._session_auth_binding [sid ]
You can’t perform that action at this time.
0 commit comments