[Modify] Polish it

This commit is contained in:
sta 2017-07-04 14:40:03 +09:00
parent 6b7af9ad57
commit 473cf76f1b

View File

@ -944,15 +944,12 @@ namespace WebSocketSharp.Server
} }
); );
} }
catch (HttpListenerException ex) { catch (HttpListenerException) {
if (_state == ServerState.ShuttingDown) { _log.Info ("The underlying listener is stopped.");
_log.Info ("The receiving is stopped."); break;
break; }
} catch (InvalidOperationException) {
_log.Info ("The underlying listener is stopped.");
_log.Fatal (ex.Message);
_log.Debug (ex.ToString ());
break; break;
} }
catch (Exception ex) { catch (Exception ex) {