[Modify] Polish it
This commit is contained in:
parent
7defb573ef
commit
18616fb8aa
@ -226,15 +226,12 @@ namespace WebSocketSharp.Server
|
||||
}
|
||||
|
||||
set {
|
||||
string msg;
|
||||
if (!canSet (out msg)) {
|
||||
_log.Warn (msg);
|
||||
return;
|
||||
}
|
||||
|
||||
lock (_sync) {
|
||||
string msg;
|
||||
|
||||
if (!canSet (out msg)) {
|
||||
_log.Warn (msg);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user