mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Ensure that Log4J is shutdown when stopping the server (Fixes #7932)
This commit is contained in:
parent
945316dc5d
commit
1ef1281f21
1 changed files with 1 additions and 0 deletions
|
@ -477,6 +477,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ e.printStackTrace();
|
||||
+ // Paper end
|
||||
} finally {
|
||||
+ org.apache.logging.log4j.LogManager.shutdown(); // Paper
|
||||
try {
|
||||
- net.minecrell.terminalconsole.TerminalConsoleAppender.close(); // Paper - Use TerminalConsoleAppender
|
||||
+ //net.minecrell.terminalconsole.TerminalConsoleAppender.close(); // Paper - Move into stop
|
||||
|
|
Loading…
Reference in a new issue