[Modify] Polish it

This commit is contained in:
sta 2021-06-22 19:33:35 +09:00
parent ebdc6092a4
commit 8488518b4a

View File

@ -426,15 +426,12 @@ namespace WebSocketSharp.Server
if (full.Length == 2 && full[1] == ':')
throw new ArgumentException ("An absolute root.", "value");
string msg;
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
lock (_sync) {
string msg;
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}