[Modify] Replace it

This commit is contained in:
sta 2021-12-31 17:12:08 +09:00
parent ef75faf763
commit e855a140bc

View File

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