Skip to content
Success

Changes

Summary

  1. #2770: Handle posix signals SIGTERM, SIGINT, SIGHUP gracefully (commit: 697f087) (details)
Commit 697f0875e65bc57676165b94654992f018e6851c by md_5
#2770: Handle posix signals SIGTERM, SIGINT, SIGHUP gracefully

- Move working contents of Bungeecord.stop() to a separate function
named independentThreadStop() intended to be called from a separate thread.
- Added a new generic shutdown hook to call independentThreadStop when
the JVM begins shutting down.
(commit: 697f087)
The file was modifiedproxy/src/main/java/net/md_5/bungee/BungeeCord.java