[Modify] Polish it

This commit is contained in:
sta 2021-06-15 19:37:47 +09:00
parent 406087acea
commit cf8cb2e174

View File

@ -333,15 +333,9 @@ namespace WebSocketSharp.Server
} }
set { set {
string msg;
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
lock (_sync) { lock (_sync) {
string msg;
if (!canSet (out msg)) { if (!canSet (out msg)) {
_log.Warn (msg); _log.Warn (msg);