[Modify] Polish it

This commit is contained in:
sta 2021-06-15 19:42:54 +09:00
parent cf8cb2e174
commit 9856d26233

View File

@ -550,6 +550,7 @@ namespace WebSocketSharp.Server
}
set {
lock (_sync) {
string msg;
if (!canSet (out msg)) {
@ -558,13 +559,6 @@ namespace WebSocketSharp.Server
return;
}
lock (_sync) {
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
_listener.Realm = value;
}
}