mirror of
https://github.com/games-on-whales/wolf-ui.git
synced 2026-10-15 13:02:04 +00:00
[GH-ISSUE #19] Re-launching an app with a running lobby spawns a second instance that dies in <1s (stream drops) instead of re-joining #14
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf-ui#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TrafficDemotion on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/games-on-whales/wolf-ui/issues/19
What happens
When an app (e.g. Steam) already has a running lobby for a profile, clicking the app again in the Wolf UI creates a second lobby/container instead of joining the existing one. The second container is killed within ~0.7 s (same profile home — Steam single-instance lock), Wolf then stops the new lobby, and the client stream drops right after connecting. From the user's point of view: "I click Steam and I get kicked out" (looks like a crash).
Why it's confusing
stop_when_everyone_leaves=false, see #17): after disconnecting the stream the container is still running, but nothing suggests re-joining it.Reproduction
user-> click Steam -> lobby A + container A start (stream works fine).Wolf logs:
Expected behavior
Clicking an app that already has a running lobby should either:
Suggested fix
App.csalways goes through CreateLobby -> JoinLobby. Before creating, queryGET /api/v1/lobbiesand if a lobby for the same profile + app already exists, join that one instead. There is already a TODO for exactly this insrc/Scenes/Main/Body/Apps/App.cs:332:Environment
ghcr.io/games-on-whales/wolf-ui:main(image built 2026-06-24)ghcr.io/games-on-whales/wolf:stable(image built 2026-09-29)ghcr.io/games-on-whales/steam:edgeNote: this only affects re-launching the same app on the same profile; launching apps from different profiles in parallel works fine (cross-profile lobbies coexist).