ModsFinder
FO

ForceExitOnShutdown

by Lumine1909

ForceExitOnShutdown makes a Minecraft Java Edition 26.2 client or server exit at shutdown when a watchdog would otherwise hang on a non-daemon thread.

FabricClient or server, optionalGNU General Public License v3.0 onlyOpen source26.2

What it does

The crash it targets happens when the watchdog kills a non-daemon thread that keeps the process alive. The fix adds a System.exit(0) call so the game closes cleanly instead of stalling. It is a Fabric mod for Minecraft 26.2 only, with a single file, 0.1.0, published on 2026-06-28. Either side can run it, and neither needs it. The project is open source under the GNU General Public License v3.0 only, and its source code and issue tracker are public.

Key features

  1. Forced exit on shutdown

    When the game shuts down, the mod calls System.exit(0) so the process ends rather than waiting on a stuck thread.

  2. Watchdog crash fix

    It addresses crashes where the watchdog terminates a non-daemon thread and the game fails to close.

  3. Older-version workaround

    The same forced exit was used to patch this problem in earlier versions, now carried into 26.2.

Compatibility

Latest build for each game version and loader.

26.20.1.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Questions

Does ForceExitOnShutdown need Fabric API?

The mod is listed for Fabric only. The latest file, 0.1.0 for 26.2, is the one to install on a Fabric 26.2 setup.

Is ForceExitOnShutdown required on both sides?

No. Either side can run it alone, and neither the client nor the server has to have it for the game to work.

In the catalog

ForceExitOnShutdown is one of 7,555 Cursed mods on ModsFinder, and one of 4,235 Cursed mods for Fabric. 13,894 mods support Minecraft 26.2.

More from Lumine1909

All projects

Similar mods

What the author says

Fix minecraft crash on shutdown due to watchdog killing non-daemon thread by adding System.exit(0) Minecraft do not execute System.exit(0); on exit anymore, so all the mods that do not clean up non-daemon executors by themselves will prevent the minecraft from fully close. Then the watchdog will kill minecraft and…
Lumine1909, on the Modrinth page

Official listing

Owner
Lumine1909
Published
2026-06-28
Updated on Modrinth
2026-06-28
Facts verified
2026-10-15

Tags