mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix #1018 (ThreadAbortException)
This commit is contained in:
parent
b2bcfca8ec
commit
4362de4540
2 changed files with 2 additions and 2 deletions
|
|
@ -724,7 +724,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
}
|
||||
catch (Exception innerException)
|
||||
{
|
||||
if (innerException is SocketException || innerException.InnerException is SocketException)
|
||||
if (innerException is SocketException || innerException.InnerException is SocketException || innerException is ThreadAbortException)
|
||||
throw; //Connection lost rather than invalid data
|
||||
throw new System.IO.InvalidDataException(
|
||||
String.Format("Failed to process incoming packet of type {0}. (PacketID: {1}, Protocol: {2}, LoginPhase: {3}, InnerException: {4}).",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue