[Modify] Replace it

This commit is contained in:
sta 2021-11-08 21:13:18 +09:00
parent 32889bd503
commit 7cec07ef31

View File

@ -228,13 +228,8 @@ namespace WebSocketSharp.Server
set { set {
lock (_sync) { lock (_sync) {
string msg; if (!canSet ())
if (!canSet (out msg)) {
_log.Warn (msg);
return; return;
}
_keepClean = value; _keepClean = value;
} }