[Modify] Polish it
This commit is contained in:
parent
6b7af9ad57
commit
473cf76f1b
@ -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.Fatal (ex.Message);
|
_log.Info ("The underlying listener is stopped.");
|
||||||
_log.Debug (ex.ToString ());
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (Exception ex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user