[Modify] Replace it
This commit is contained in:
parent
2077be2c47
commit
9098020bfa
@ -524,13 +524,20 @@ namespace WebSocketSharp.Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
set {
|
set {
|
||||||
var msg = _state.CheckIfAvailable (true, false, false);
|
string msg;
|
||||||
if (msg != null) {
|
if (!canSet (out msg)) {
|
||||||
_log.Error (msg);
|
_log.Warn (msg);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_rootPath = value;
|
lock (_sync) {
|
||||||
|
if (!canSet (out msg)) {
|
||||||
|
_log.Warn (msg);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
_rootPath = value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user