mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-02-23 16:01:09 +01:00
This terminates the input stream when an error occurred and does not wait for the handler thread in the McsService to send the interrupt signal. This hopefully fixes a situation that I had where tear down messages were created in a busy loop because of repeatedly reading -1 from the input (I don't know how it got into the situation as the log was filled with the messages from the tear down).