Fix retry timer not being unregistered properly (#409)
Fix retry timer not being unregistered properly
This commit is contained in:
commit
69ea670c1f
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue