We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6be55ef commit 7255e4fCopy full SHA for 7255e4f
src/mcp/server/lowlevel/server.py
@@ -882,10 +882,7 @@ async def run(
882
tg,
883
)
884
finally:
885
- # Cancel session operations and stop cleanup task
886
- session_id = getattr(session, "session_id", None)
887
- if session_id is not None:
888
- self.async_operations.cancel_session_operations(session_id)
+ # Stop cleanup task
889
await self.async_operations.stop_cleanup_task()
890
891
async def _handle_message(
0 commit comments