mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Remove release specific exception handling
This commit is contained in:
parent
78f5d246f9
commit
f855839bb3
1 changed files with 0 additions and 15 deletions
|
|
@ -2349,7 +2349,6 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
|
|
||||||
return true; //Packet processed
|
return true; //Packet processed
|
||||||
}
|
}
|
||||||
#if Release
|
|
||||||
catch (Exception innerException)
|
catch (Exception innerException)
|
||||||
{
|
{
|
||||||
if (innerException is ThreadAbortException || innerException is SocketException || innerException.InnerException is SocketException)
|
if (innerException is ThreadAbortException || innerException is SocketException || innerException.InnerException is SocketException)
|
||||||
|
|
@ -2363,20 +2362,6 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
innerException.GetType()),
|
innerException.GetType()),
|
||||||
innerException);
|
innerException);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
catch (SocketException)
|
|
||||||
{
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
catch (ThreadAbortException)
|
|
||||||
{
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
catch (ObjectDisposedException)
|
|
||||||
{
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue