[Modify] Polish it

This commit is contained in:
sta 2017-03-31 15:19:52 +09:00
parent 682abf9335
commit bd065e5201

View File

@ -253,10 +253,8 @@ namespace WebSocketSharp.Server
internal set { internal set {
lock (_sync) { lock (_sync) {
if (value == _waitTime)
return;
_waitTime = value; _waitTime = value;
foreach (var host in _hosts.Values) foreach (var host in _hosts.Values)
host.WaitTime = value; host.WaitTime = value;
} }