diff --git a/websocket-sharp/Net/EndPointListener.cs b/websocket-sharp/Net/EndPointListener.cs index 99040e19..7d6b5193 100644 --- a/websocket-sharp/Net/EndPointListener.cs +++ b/websocket-sharp/Net/EndPointListener.cs @@ -244,6 +244,9 @@ namespace WebSocketSharp.Net try { sock = lsnr._socket.EndAccept (asyncResult); } + catch (SocketException) { + // TODO: Should log the error code when this class has a logging. + } catch (ObjectDisposedException) { return; }