gorilla-devs / GDLauncher

GDLauncher is a simple, yet powerful Minecraft custom launcher with a strong focus on the user experience
https://gdevs.io
GNU General Public License v3.0
1.22k stars 245 forks source link

Closing Minecraft using ALT + F4 does not end Java #1598

Closed FooterManDev closed 11 months ago

FooterManDev commented 11 months ago

Describe the bug When closing Minecraft using ALT + F4, only the window will close, Java will still be running in the background, so you can't launch the game again until you manually end the task.

To Reproduce

Expected behavior Java to not be running.

Possible solutions Add some way to close Java when closing the game via ALT + F4.

Screenshots

Operating System:

Additional context

Eskaan commented 11 months ago

Probably a duplicate of #1586

Edit: We can only try to close the process that we spawned with the game (because we know the pid). If that option isn’t available in the launcher after quitting, this sounds like the process is disowned and should rather be killed using some task manager.