[Modify] Polish it
This commit is contained in:
parent
4c57ccfdbf
commit
dd58c690a0
@ -711,23 +711,7 @@ namespace WebSocketSharp.Server
|
||||
}
|
||||
|
||||
set {
|
||||
if (value <= TimeSpan.Zero)
|
||||
throw new ArgumentException ("Zero or less.", "value");
|
||||
|
||||
string msg;
|
||||
if (!canSet (out msg)) {
|
||||
_log.Warn (msg);
|
||||
return;
|
||||
}
|
||||
|
||||
lock (_sync) {
|
||||
if (!canSet (out msg)) {
|
||||
_log.Warn (msg);
|
||||
return;
|
||||
}
|
||||
|
||||
_services.WaitTime = value;
|
||||
}
|
||||
_services.WaitTime = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user