[Modify] Replace it

This commit is contained in:
sta
2022-01-01 17:31:46 +09:00
parent d70bf58dba
commit 8ab45316d6

View File

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