[Modify] Polish it

This commit is contained in:
sta 2017-09-20 16:01:08 +09:00
parent 9442f9559d
commit 5f6fcd3be6

View File

@ -495,22 +495,9 @@ namespace WebSocketSharp.Server
} }
set { set {
string msg;
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
lock (_sync) {
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
_services.KeepClean = value; _services.KeepClean = value;
} }
} }
}
/// <summary> /// <summary>
/// Gets the logging function for the server. /// Gets the logging function for the server.