mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-24 11:32:43 +03:00
Fix retry timer not being unregistered properly
This is cherry-pick of 70ba53caf4
from symless/synergy-core
This commit is contained in:
parent
4ec30b6ade
commit
3600f4b255
@ -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
Block a user