[Modify] Polish it

master
sta 9 years ago
parent 66858b524c
commit 583933993b

@ -1327,13 +1327,17 @@ namespace WebSocketSharp
if (receivePong == null)
return false;
try {
receivePong.Reset ();
if (!send (Fin.Final, Opcode.Ping, data, false))
return false;
return receivePong.WaitOne (_waitTime);
}
catch (ObjectDisposedException) {
return false;
}
}
private bool processCloseFrame (WebSocketFrame frame)
{

Loading…
Cancel
Save