[Modify] Polish it

This commit is contained in:
sta 2021-06-15 19:37:47 +09:00
parent 406087acea
commit cf8cb2e174

View File

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