Skip to content

Commit

Permalink
clear heartbeat after connection_completed /cc #374
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Oct 23, 2012
1 parent bd0bb07 commit 3c39365
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/ed.cpp
Expand Up @@ -460,6 +460,8 @@ ConnectionDescriptor::SetConnectPending
void ConnectionDescriptor::SetConnectPending(bool f)
{
bConnectPending = f;
if (f == false && NextHeartbeat)
MyEventMachine->ClearHeartbeat(NextHeartbeat, this);
_UpdateEvents();
}

Expand Down

0 comments on commit 3c39365

Please sign in to comment.