Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make sure that Minestom services are properly shutting down
Unlike CraftBukkit, Minestom does not call System.exit() when shutting down. Minestom relies on the outside process to release all resources and non-daemon threads so that the process can properly exit. For reference see net.minecraft.server.dedicated.DedicatedServer#onServerExit which is being called by MinecraftServer#halt which is in turn being handled by MinecraftServer#runServer (second nested finally).
- Loading branch information