mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
LSP shutdown was using process.kill() directly which: - Only sends SIGTERM without SIGKILL escalation - Doesn't kill child processes (e.g., tsserver spawned by typescript-language-server) - Doesn't handle Windows process trees Changes: - client.ts: Use Shell.killTree() in shutdown() for proper process group kill - server.ts: Add spawnLSP() helper that sets detached=true (required for process group kill) Now properly: - Kills the process group (-pid) on Unix - Escalates to SIGKILL after 200ms if needed - Uses taskkill /t on Windows for tree kill |
||
|---|---|---|
| .. | ||
| console | ||
| desktop | ||
| docs | ||
| enterprise | ||
| extensions/zed | ||
| function | ||
| identity | ||
| opencode | ||
| plugin | ||
| script | ||
| sdk | ||
| slack | ||
| tauri | ||
| ui | ||
| util | ||
| web | ||