/exit hangs after new session #1230

Closed
opened 2026-02-16 17:30:05 -05:00 by yindo · 5 comments
Owner

Originally created by @durbinwuhausman on GitHub (Aug 11, 2025).

Originally assigned to: @thdxr on GitHub.

Appears /exit hangs after new session is created. Exiting opencode after loading an existing session works fine as does exiting without creating a new session.

Originally created by @durbinwuhausman on GitHub (Aug 11, 2025). Originally assigned to: @thdxr on GitHub. Appears /exit hangs after new session is created. Exiting opencode after loading an existing session works fine as does exiting without creating a new session.
yindo closed this issue 2026-02-16 17:30:05 -05:00
Author
Owner

@rekram1-node commented on GitHub (Sep 2, 2025):

Does this still happen to you? if so I think it may be a docker mcp server or something else rather than /exit

@rekram1-node commented on GitHub (Sep 2, 2025): Does this still happen to you? if so I think it may be a docker mcp server or something else rather than /exit
Author
Owner

@durbinwuhausman commented on GitHub (Sep 2, 2025):

Still does in and out of devcontainer. Just a minor annoyance. I thought it was session-related because I was able to replicate the problem but have since happened randomly outside of those scenarios.

@durbinwuhausman commented on GitHub (Sep 2, 2025): Still does in and out of devcontainer. Just a minor annoyance. I thought it was session-related because I was able to replicate the problem but have since happened randomly outside of those scenarios.
Author
Owner

@esafak commented on GitHub (Sep 6, 2025):

Mine hangs when I try to exit sometimes. I think it happens more often after the computer goes to sleep and wakes up.

A good indicator that it is going to hang is when issuing commands generates no response. So I quit to reopen the session, and it hangs on quitting.

@esafak commented on GitHub (Sep 6, 2025): Mine hangs when I try to exit sometimes. I think it happens more often after the computer goes to sleep and wakes up. A good indicator that it is going to hang is when issuing commands generates no response. So I quit to reopen the session, and it hangs on quitting.
Author
Owner

@rushter commented on GitHub (Sep 10, 2025):

I've the similar issue on macos.

I open it, type exit and the app is not closed until I hit ctrl+c.

https://github.com/user-attachments/assets/099043e2-89c0-450b-b3c9-2db562f7be78

@rushter commented on GitHub (Sep 10, 2025): I've the similar issue on macos. I open it, type exit and the app is not closed until I hit ctrl+c. https://github.com/user-attachments/assets/099043e2-89c0-450b-b3c9-2db562f7be78
Author
Owner

@veracioux commented on GitHub (Oct 10, 2025):

I think this might fixed by https://github.com/sst/opencode/pull/3083

Feel free to try it out if you feel so inclined.

@veracioux commented on GitHub (Oct 10, 2025): I think this might fixed by https://github.com/sst/opencode/pull/3083 Feel free to try it out if you feel so inclined.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1230