[Modify] Polish it

This commit is contained in:
sta 2017-03-30 16:29:38 +09:00
parent 91112a0bf3
commit dd392d283b

View File

@ -191,10 +191,8 @@ namespace WebSocketSharp.Server
internal set { internal set {
lock (_sync) { lock (_sync) {
if (!(value ^ _clean))
return;
_clean = value; _clean = value;
foreach (var host in _hosts.Values) foreach (var host in _hosts.Values)
host.KeepClean = value; host.KeepClean = value;
} }