[SPIGOT-2642] Restart API / Command: Not shutting down correctly. Created: 30/Aug/16 Updated: 30/Aug/16 Resolved: 30/Aug/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Chalkie | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
Centos/Windows |
Description |
Currently when using the built in spigot restart command (spigot:restart) or the api Bukkit.getServer().spigot().restart() it seems that the plugins don't get a chance to shutdown correctly and/or this information isn't displayed within the console window. When using the stop command, you can clearly see plugins disabling, db connections closing ect. However, when using the restart command and/or api none of this is seen. Added below are some screenshots and the source for the test plugin. I do apologise if I have missed something obvious. Thanks for your time. Source Test Plugin: http://pastebin.com/C4m9x5L7 Screenshot 1 (Plain Server, Test Plugin): https://i.gyazo.com/6d45f50bbf90a49284745ae508084ca5.png Note: My test server is only using 1 thread for Netty IO, however were I first noticed this was on a "real" server that uses 4. So I don't believe that is the issue. (Also just tested it with 4 and no change) |
Comments |
Comment by md_5 [ 30/Aug/16 ] |
Yeah, you kind of did. |