Skip to content

Commit 9720d99

Browse files
committed
Add missing await
1 parent 03b5266 commit 9720d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/client/stdio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ async def stdin_writer():
174174
finally:
175175
# Clean up process to prevent any dangling orphaned processes
176176
if sys.platform == "win32":
177-
terminate_windows_process(process)
177+
await terminate_windows_process(process)
178178
else:
179179
process.terminate()
180180

0 commit comments

Comments
 (0)