1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-23 19:18:00 +01:00

[sinttest] Disconnect unrecycleable connections

This commit is contained in:
Florian Schmaus 2020-05-31 21:01:32 +02:00
parent 2900cc2274
commit dd4cd8cede

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.