Skip to content

Commit 5f6fcd3

Browse files
committed
[Modify] Polish it
1 parent 9442f95 commit 5f6fcd3

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

websocket-sharp/Server/HttpServer.cs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -495,20 +495,7 @@ public bool KeepClean {
495495
}
496496

497497
set {
498-
string msg;
499-
if (!canSet (out msg)) {
500-
_log.Warn (msg);
501-
return;
502-
}
503-
504-
lock (_sync) {
505-
if (!canSet (out msg)) {
506-
_log.Warn (msg);
507-
return;
508-
}
509-
510-
_services.KeepClean = value;
511-
}
498+
_services.KeepClean = value;
512499
}
513500
}
514501

0 commit comments

Comments
 (0)