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 dde8cd5 commit db24790Copy full SHA for db24790
src/mcp/server/streamable_http.py
@@ -627,8 +627,8 @@ async def standalone_sse_writer():
627
await response(request.scope, request.receive, send)
628
except Exception as e:
629
logger.exception(f"Error in standalone SSE response: {e}")
630
- # await sse_stream_writer.aclose()
631
- # await sse_stream_reader.aclose()
+ await sse_stream_writer.aclose()
+ await sse_stream_reader.aclose()
632
await self._clean_up_memory_streams(GET_STREAM_KEY)
633
634
async def _handle_delete_request(self, request: Request, send: Send) -> None:
0 commit comments