Fix retry timer not being unregistered properly (#409)

Fix retry timer not being unregistered properly
This commit is contained in:
Adrian Lucrèce Céleste 2019-08-22 12:54:19 -04:00 committed by GitHub
commit 69ea670c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -302,8 +302,8 @@ void
ServerApp::stopRetryTimer()
{
if (m_timer != NULL) {
m_events->removeHandler(Event::kTimer, m_timer);
m_events->deleteTimer(m_timer);
m_events->removeHandler(Event::kTimer, NULL);
m_timer = NULL;
}
}