Description
Currently, calling server.close() in the SDK only terminates the immediate process wrapper (like deno) but leaves the actual opencode binary running as an orphaned process. This results in the network port remaining occupied and requiring manual cleanup (e.g., fuser -k).
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
Currently, calling server.close() in the SDK only terminates the immediate process wrapper (like deno) but leaves the actual opencode binary running as an orphaned process. This results in the network port remaining occupied and requiring manual cleanup (e.g., fuser -k).
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response