mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
[sinttest] Disconnect unrecycleable connections
This commit is contained in:
parent
2900cc2274
commit
dd4cd8cede
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue