[Modify] Replace it
This commit is contained in:
parent
55aaa620e5
commit
1de175fb5c
@ -263,13 +263,8 @@ namespace WebSocketSharp.Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
lock (_sync) {
|
lock (_sync) {
|
||||||
string msg;
|
if (!canSet ())
|
||||||
|
|
||||||
if (!canSet (out msg)) {
|
|
||||||
_log.Warn (msg);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var host in _hosts.Values)
|
foreach (var host in _hosts.Values)
|
||||||
host.WaitTime = value;
|
host.WaitTime = value;
|
||||||
|
Loading…
Reference in New Issue
Block a user