Back to mods

Modrinth · Minecraft mod

ForceExitOnShutdown

Fix minecraft crash on shutdown due to watchdog killing non-daemon thread by adding System.exit(0)

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which ForceExitOnShutdown release matches 26.3 NeoForge?

Updated today
Best match for your filters 0.2.0
Game version 26.3, 26.2
Loader Fabric, NeoForge

ForceExitOnShutdown 0.2.0 targets 26.3, 26.2 with Fabric, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is ForceExitOnShutdown required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does ForceExitOnShutdown 0.2.0 need?

0.2.0 on 26.3 NeoForge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add ForceExitOnShutdown without breaking your instance.

Built for ForceExitOnShutdown 0.2.0 on 26.3 NeoForge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.2.0. It targets 26.3, 26.2 with Fabric, NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.2.0. It opens that exact file at the source.

About this project

What does ForceExitOnShutdown add?

ForceExitOnShutdown

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 generate a crash.

This mod is used to fix this problem, by adding force exit as older version (26.2-) did.

Important

This may cause problem, since I don't know why mojang eventually remove that exit code.

USE AT YOUR OWN RISK!

Project description from Modrinth.

Pick your setup

ForceExitOnShutdown by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

ForceExitOnShutdown versions and loaders

1 of 2 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.