ClassiCube / MCGalaxy

A Minecraft Classic / ClassiCube server software
GNU General Public License v3.0
162 stars 76 forks source link

Crash from disposed GUI #725

Open UnknownShadow200 opened 1 year ago

UnknownShadow200 commented 1 year ago

image

The user did note that the drive they were running the server from was having issues, which resulted in lots of I/O exceptions getting thrown.

Most likely one of these I/O errors wasn't handled somewhere which resulted in the server attempting to automatically restart itself due to the unhandled exception. What probably happened next is that while the GUI was in the middle of being disposed/destroyed, something (e.g. maybe player disconnected event?) tried to update the GUI which resulted in the crash

So need to fix 1) Unhandled I/O errors being able to take down the server 2) Updating the GUI while it is in the middle of being destroyed throwing unhandled errors