[Modify] Polish it

This commit is contained in:
sta 2017-09-21 19:42:07 +09:00
parent 0a3ea71729
commit b4a9272f2a

View File

@ -675,23 +675,7 @@ namespace WebSocketSharp.Server
}
set {
string msg;
if (!value.CheckWaitTime (out msg))
throw new ArgumentException (msg, "value");
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
lock (_sync) {
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
_services.WaitTime = value;
}
_services.WaitTime = value;
}
}