Skip to content

Commit

Permalink
Merge pull request Quobject#50 from MeTaXaS4/master
Browse files Browse the repository at this point in the history
don't ping on connection not "open"
  • Loading branch information
mattqs authored Dec 20, 2017
2 parents 13fc371 + c340fcf commit 35984f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/EngineIoClientDotNet.mono/Client/Socket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ private void SetPing()
SetPing();
log2.Info("skipping Ping during upgrade");
}
else
else if(ReadyState == ReadyStateEnum.CLOSED)
{
Ping();
OnHeartbeat(PingTimeout);
Expand Down

0 comments on commit 35984f4

Please sign in to comment.