You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement unified timeout mechanism for stdio client cleanup
Changes from PR #555 by @cristipufu:
- Remove Windows-specific terminate_windows_process function
- Apply uniform 2-second timeout mechanism across all platforms:
- Try process.terminate() first (SIGTERM on Unix, similar on Windows)
- Wait up to 2 seconds for graceful termination
- If timeout occurs, force process.kill() (SIGKILL equivalent)
This ensures consistent behavior between Windows and Unix systems when
cleaning up stdio client processes, preventing hanging when MCP servers
don't respond to SIGTERM.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments