Skip to content

Commit 28bd038

Browse files
committed
suggested changes
1 parent f83df9d commit 28bd038

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mcp/server/streamable_http.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,6 @@ async def _terminate_session(self) -> None:
684684
await self._write_stream.aclose()
685685
except Exception as e:
686686
logger.debug(f"Error closing streams: {e}")
687-
pass
688687

689688
async def _handle_unsupported_request(self, request: Request, send: Send) -> None:
690689
"""Handle unsupported HTTP methods."""
@@ -925,4 +924,3 @@ async def message_router():
925924
await write_stream.aclose()
926925
except Exception as e:
927926
logger.debug(f"Error closing streams: {e}")
928-
pass

0 commit comments

Comments
 (0)