[Fix] Catch it

Fix for issue #232 and #261.
This commit is contained in:
sta 2016-05-21 16:38:07 +09:00
parent acd56acae3
commit a8a342097e

View File

@ -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;
}