diff --git a/InSimDotNet/TcpSocket.cs b/InSimDotNet/TcpSocket.cs index 061c813..0631f20 100644 --- a/InSimDotNet/TcpSocket.cs +++ b/InSimDotNet/TcpSocket.cs @@ -214,7 +214,6 @@ private async void ReceiveAsync() { Debug.WriteLine(String.Format(StringResources.TcpSocketDebugErrorMessage, ex)); Dispose(); OnSocketError(new InSimErrorEventArgs(ex)); - throw; } } } diff --git a/InSimDotNet/UdpSocket.cs b/InSimDotNet/UdpSocket.cs index 98227ae..2b9cfb7 100644 --- a/InSimDotNet/UdpSocket.cs +++ b/InSimDotNet/UdpSocket.cs @@ -172,7 +172,6 @@ private async void ReceiveAsync() { Debug.WriteLine(String.Format(StringResources.UdpSocketDebugErrorMessage, ex)); Dispose(); OnSocketError(new InSimErrorEventArgs(ex)); - throw; } } }