diff --git a/libnymea-app-core/connection/nymeaconnection.cpp b/libnymea-app-core/connection/nymeaconnection.cpp index a191ac52..8a89783f 100644 --- a/libnymea-app-core/connection/nymeaconnection.cpp +++ b/libnymea-app-core/connection/nymeaconnection.cpp @@ -344,6 +344,7 @@ void NymeaConnection::onDisconnected() }); } + qDebug() << "Current transport:" << m_currentTransport << "Remaining connections:" << m_transportCandidates.count() << "Current host:" << m_currentHost; return; } m_transportCandidates.remove(m_currentTransport); @@ -365,7 +366,7 @@ void NymeaConnection::onDisconnected() emit connectedChanged(false); } - if (!m_currentTransport) { + if (!m_currentHost) { return; }