[Modify] Polish it
This commit is contained in:
parent
1bcfe395e4
commit
0f871058a4
@ -278,10 +278,8 @@ namespace WebSocketSharp.Net
|
||||
if (conn._socket == null)
|
||||
return;
|
||||
|
||||
if (!conn._timeoutCanceled[current]) {
|
||||
conn._timer.Change (Timeout.Infinite, Timeout.Infinite);
|
||||
conn._timeoutCanceled[current] = true;
|
||||
}
|
||||
conn._timer.Change (Timeout.Infinite, Timeout.Infinite);
|
||||
conn._timeoutCanceled[current] = true;
|
||||
|
||||
var nread = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user