[GH-ISSUE #6655] Closing the game while joining a server only c​loses the window not the game. #2166

Open
opened 2026-11-02 15:52:39 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6655

Originally assigned to: @GIGABAIT93 on GitHub.

Version: Nightly 2026-11-01 · c9d474d · OS: Fedora 44 (Workstation Edition) x86_64, Intel Core i7-6700T, NVIDIA GeForce 1660 (copied from the report)

sorry if i got the tags wrong I didn't know what to put it as too much
What I did:
Joined server that made the game get stuck on connecting for a while
Tried closing the game after it didn't connect using the x button on the window
Checked the launcher to reboot the game and it was still running
What happened:
It continued running after the game was supposed to c​lose
What I expected:
The game to actually c​lose
Does it happen every time?
Yes
Horizon version: as the game shows it
Nightly 2026-11-01 · c9d474d
OS, CPU, GPU:
Fedora 44 (Workstation Edition) x86_64, Intel Core i7-6700T, NVIDIA GeForce 1660

Reported on Discord by HaimiyaGlazer in #horizon-bugs · Discord thread
Tags: crash, rendering

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6655 Originally assigned to: @GIGABAIT93 on GitHub. **Version:** Nightly 2026-11-01 · c9d474d · **OS:** Fedora 44 (Workstation Edition) x86_64, Intel Core i7-6700T, NVIDIA GeForce 1660 <sub>(copied from the report)</sub> > sorry if i got the tags wrong I didn't know what to put it as too much > What I did: > Joined server that made the game get stuck on connecting for a while > Tried closing the game after it didn't connect using the x button on the window > Checked the launcher to reboot the game and it was still running > What happened: > It continued running after the game was supposed to c​lose > What I expected: > The game to actually c​lose > Does it happen every time? > Yes > Horizon version: as the game shows it > Nightly 2026-11-01 · c9d474d > OS, CPU, GPU: > Fedora 44 (Workstation Edition) x86_64, Intel Core i7-6700T, NVIDIA GeForce 1660 Reported on Discord by **HaimiyaGlazer** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566616414947905747) Tags: crash, rendering <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
Author
Owner

@GIGABAIT93 commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim
Comment by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 personally. I'll find what keeps the process alive after the window closes while a server join hangs, reproduce it with a server that never answers, and fix it.

<!-- gh-comment-id:6570452983 --> @GIGABAIT93 commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Comment by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 personally. I'll find what keeps the process alive after the window closes while a server join hangs, reproduce it with a server that never answers, and fix it.
Author
Owner

@GIGABAIT93 commented on GitHub (Nov 2, 2026):

🤖 Agent: comment by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 personally.

I can't reproduce this on Windows 11 with the reporter's build (Nightly 2026-11-01 · c9d474d). The client was started with --quickPlayMultiplayer, and I closed the window from outside while the join hung. Both cases below exit at once, code 0:

  • A server that accepts the connection and never answers (stuck on "Connecting", which times out after 30 s): closed 10 s into the wait, the process was gone within a second.
  • An address that drops every packet, like a firewall (10.255.255.1, the TCP connect never completes): closed mid-connect, the process was gone within a second.

So it's probably Linux-specific, or tied to how far the join got. @HaimiyaGlazer, three questions:

  1. Which server, or what's on it (a proxy such as Velocity or BungeeCord, an anti-bot plugin, a resource pack)?
  2. What did the screen say while it hung: "Connecting to the server…", "Logging in…", "Joining world", "Loading terrain", or a resource pack download?
  3. Is the leftover process horizon-client, does it use CPU, and does it ever exit on its own? Running ps -o pid,stat,etime,cmd -C horizon-client in a terminal while it's stuck shows it.
<!-- gh-comment-id:6570595127 --> @GIGABAIT93 commented on GitHub (Nov 2, 2026): 🤖 Agent: comment by GIGABAIT93's AI agent (Claude Code, Claude Opus 5.5), not by GIGABAIT93 personally. I can't reproduce this on Windows 11 with the reporter's build (Nightly 2026-11-01 · c9d474d). The client was started with `--quickPlayMultiplayer`, and I closed the window from outside while the join hung. Both cases below exit at once, code 0: - **A server that accepts the connection and never answers** (stuck on "Connecting", which times out after 30 s): closed 10 s into the wait, the process was gone within a second. - **An address that drops every packet**, like a firewall (`10.255.255.1`, the TCP connect never completes): closed mid-connect, the process was gone within a second. So it's probably Linux-specific, or tied to how far the join got. @HaimiyaGlazer, three questions: 1. Which server, or what's on it (a proxy such as Velocity or BungeeCord, an anti-bot plugin, a resource pack)? 2. What did the screen say while it hung: "Connecting to the server…", "Logging in…", "Joining world", "Loading terrain", or a resource pack download? 3. Is the leftover process `horizon-client`, does it use CPU, and does it ever exit on its own? Running `ps -o pid,stat,etime,cmd -C horizon-client` in a terminal while it's stuck shows it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2166
No description provided.