[Modify] Replace it

This commit is contained in:
sta
2022-01-01 17:27:18 +09:00
parent 5f2fb2ad55
commit d70bf58dba

View File

@@ -436,13 +436,8 @@ namespace WebSocketSharp.Server
throw new ArgumentException ("An absolute root.", "value"); throw new ArgumentException ("An absolute root.", "value");
lock (_sync) { lock (_sync) {
string msg; if (!canSet ())
if (!canSet (out msg)) {
_log.Warn (msg);
return; return;
}
_docRootPath = value; _docRootPath = value;
} }