Skip to content

Commit 0dde4f1

Browse files
test
1 parent 08808f3 commit 0dde4f1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/mcp/client/stdio/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,6 @@ async def stdin_writer():
181181
# 1. Close input stream to server
182182
# 2. Wait for server to exit, or send SIGTERM if it doesn't exit in time
183183
# 3. Send SIGKILL if still not exited
184-
if process.stdin:
185-
try:
186-
await process.stdin.aclose()
187-
except Exception:
188-
# stdin might already be closed, which is fine
189-
pass
190-
191184
try:
192185
# Give the process time to exit gracefully after stdin closes
193186
with anyio.fail_after(2.0):

0 commit comments

Comments
 (0)