diff --git a/src/libs/ssh/sshconnectionmanager.cpp b/src/libs/ssh/sshconnectionmanager.cpp index f1e1e4d45ce7a3af345a10745ebc214f39613a22..0abde1d521869ed92c061e05961c15d2358d96c9 100644 --- a/src/libs/ssh/sshconnectionmanager.cpp +++ b/src/libs/ssh/sshconnectionmanager.cpp @@ -145,10 +145,7 @@ public: } } if (!haveConnection) { - // Let's nag clients who release connections with open channels. - const int channelCount = connection->closeAllChannels(); - QSSH_ASSERT(channelCount == 0); - + connection->closeAllChannels(); // Clean up after neglectful clients. m_unacquiredConnections.append(connection); } else { doDelete = true;