fix(builder): an update ends a leftover windowless game process, and names a running one #2155
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!2155
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/update-closes-stale-game"
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?
From Discord tonight: after a "stuck on preparing shaders" start, a player's update stopped with
and they had to find the
hookshot.exestill running in the background (no window) themselves.Before the installed files are replaced (
make_game.py's finish step, Windows only),end_stale_games()finds the processes whose exe is in the game folder or itsbinfolder (Toolhelp snapshot,QueryFullProcessImageNameW):TerminateProcess) and waited for, with a line in the build's output.Checked
ping.exerun windowless from a temp folder was ended; a call for another folder ended nothing.test_finish_outputandtest_make_game_ngxpass locally.test_linux_updatefails locally on Windows with or without this change (symlinks); the CI Linux run covers it.🤖 Generated with Claude Code
github-sync referenced this pull request2026-11-12 06:22:54 +00:00