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 61dd64a commit 328538cCopy full SHA for 328538c
1 file changed
src/mcp/server/streamable_http.py
@@ -799,7 +799,7 @@ async def terminate(self) -> None:
799
800
# Cancel any in-flight GET SSE response to prevent
801
# sse-starlette TaskGroup deadlock on Windows (python-sdk#2653).
802
- if self._active_get_response_scope is not None:
+ if self._active_get_response_scope is not None: # pragma: no cover
803
self._active_get_response_scope.cancel()
804
805
# We need a copy of the keys to avoid modification during iteration
0 commit comments