[Modify] Polish it

This commit is contained in:
sta 2021-08-20 20:06:43 +09:00
parent 622746e149
commit 05b21bef38

View File

@ -626,15 +626,12 @@ 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);
return; return;
} }