Open Gbergz opened 2 years ago
Generating embed...
That is meant for debugging, will remove next update
Will investigate thoose errors tho
Have also encountered this issue, had to remove this after several subsequent failed server stops.
I am encountering a very similar or identical issue right now with the MC 1.12 version. Server hangs on shutdown with this mod installed
This issue happens because of this line: https://github.com/ErdbeerbaerLP/DiscordIntegration-Forge/blob/853c0a9ea5caa001c22f758500893f28f48df59c/src/main/java/de/erdbeerbaerlp/dcintegration/forge/DiscordIntegration.java#L302
It happens because discord_instance.stopThreads();
stops the active threads, and later in the same method there is a discord_instance.kill();
which also tries to stop all active threads.
I suspect that it is the reason why on some machines the server hangs. I removed that line from my implementation, and everything works correctly.
What happened?
When stopping the server, server still stays adn then errors.
Forge: 39.0.5 DCIntegration: dcintegration-forge-2.3.5-1.18.jar
Game Version
1.18.1
What platform are you using?
Forge
Config File
https://gist.githubusercontent.com/Gbergz/bfc130dc35bda5084a6e9c37dd8aaf43/raw/ad61d62c15bf3fc2f3cc7d6afcc708443b7f2927/gistfile1.txt
Stop server errors
Errors in console when typing lets say "list" / any command.
Edit:
Also when typing in chat this gets printed to console:
EDIT: All of this is reproducable in an empty server w/ just dcintegration setup.
Hopefully this can be fixed. - Gbergz.