[sinttest] Disconnect unrecycleable connections

This commit is contained in:
Florian Schmaus 2020-05-31 21:01:32 +02:00
parent 2900cc2274
commit dd4cd8cede
1 changed files with 2 additions and 0 deletions

View File

@ -480,6 +480,8 @@ public class XmppConnectionManager {
synchronized (connectionPool) {
connectionPool.put(connectionClass, connection);
}
} else {
connection.disconnect();
}
// Note that we do not delete the account of the unauthenticated connection here, as it is done at the end of
// the test run together with all other dynamically created accounts.