[Modify] Polish it
This commit is contained in:
parent
17dfa4d2b5
commit
f928f68014
@ -334,14 +334,17 @@ namespace WebSocketSharp.Server
|
||||
|
||||
set {
|
||||
string msg;
|
||||
|
||||
if (!canSet (out msg)) {
|
||||
_log.Warn (msg);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
lock (_sync) {
|
||||
if (!canSet (out msg)) {
|
||||
_log.Warn (msg);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user