Fixed race condition caused by not stopped reconnectTimer

This commit is contained in:
HanzZ 2012-07-30 20:02:10 +02:00
parent 8620d6628f
commit 0d9c0387a4

View file

@ -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) {