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
Auto force-kill stale server holding port 18925 on startup
_try_shutdown_existing() now has two stages:
1. Graceful: send {"command":"SHUTDOWN"} via WebSocket — works with updated servers
2. Force: if port is still held after graceful attempt (e.g. old code without
SHUTDOWN handler), find the owning PID via netstat (Windows) or lsof (Unix)
and kill it directly
This means Claude Code sessions are fully self-healing — no manual process
killing needed even if a stale --ws-only server is running old code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments