[BUGFIX] Prevent game from becoming ghost background process - #6885
Merged
Hundrec merged 1 commit intoMar 4, 2026
Merged
Conversation
AbnormalPoof
force-pushed
the
bugfix/background-task-after-close
branch
from
February 5, 2026 03:19
527cb1c to
0dc0302
Compare
|
YESSS THANK FUCKING GODDD |
AnimatingLegend
force-pushed
the
bugfix/background-task-after-close
branch
from
February 8, 2026 04:23
1920162 to
527cb1c
Compare
AnimatingLegend
force-pushed
the
bugfix/background-task-after-close
branch
from
March 1, 2026 03:20
527cb1c to
8bace3d
Compare
AnimatingLegend
force-pushed
the
bugfix/background-task-after-close
branch
from
March 1, 2026 03:21
8bace3d to
31dbd68
Compare
Kade-github
force-pushed
the
bugfix/background-task-after-close
branch
from
March 2, 2026 20:50
eb7bdbe to
d944e2c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked Issues
Closes #6801 (Issue where game becomes a Background Task after closing)
Description
This PR fixes 'ghost' background processing upon closing the game.
(For some odd reason BG Threads (e.g., VLC or Discord) aren't always shutting down properly when the window closed).
Key Changes
lime.app.Application.Handle.dispose()call forhxvlcanddiscord_rpcto clean up video and rich presence resources.Screenshots/Videos
Original Bug Report
Bug Fix
ghost_bg_process_BUGFIX.mp4