Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clear heartbeat after connection_completed /cc #374

  • Loading branch information...
commit 3c39365435f45c534a317779ae33cf1242b49352 1 parent bd0bb07
@tmm1 tmm1 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  ext/ed.cpp
View
2  ext/ed.cpp
@@ -460,6 +460,8 @@ ConnectionDescriptor::SetConnectPending
void ConnectionDescriptor::SetConnectPending(bool f)
{
bConnectPending = f;
+ if (f == false && NextHeartbeat)
+ MyEventMachine->ClearHeartbeat(NextHeartbeat, this);
_UpdateEvents();
}
Please sign in to comment.
Something went wrong with that request. Please try again.