Skip to content

Commit 2904c08

Browse files
committed
[Modify] Replace it
1 parent 7cec07e commit 2904c08

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

websocket-sharp/Server/WebSocketSessionManager.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,8 @@ public TimeSpan WaitTime {
289289
}
290290

291291
lock (_sync) {
292-
string msg;
293-
294-
if (!canSet (out msg)) {
295-
_log.Warn (msg);
296-
292+
if (!canSet ())
297293
return;
298-
}
299294

300295
_waitTime = value;
301296
}

0 commit comments

Comments
 (0)