[Modify] Replace it

This commit is contained in:
sta 2021-12-18 22:25:50 +09:00
parent b345377bfd
commit b18a078cd4

View File

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