Fixed race condition caused by not stopped reconnectTimer
This commit is contained in:
parent
8620d6628f
commit
0d9c0387a4
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ void Component::stop() {
|
|||
void Component::handleConnected() {
|
||||
onConnected();
|
||||
m_reconnectCount = 0;
|
||||
m_reconnectTimer->stop();
|
||||
}
|
||||
|
||||
void Component::handleServerStopped(boost::optional<Swift::BoostConnectionServer::Error> e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue