1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-17 08:54:49 +02:00

Merge pull request #311 from guusdk/sint-accountmanager-disconnect

Admin should be disconnected after tests.
This commit is contained in:
Florian Schmaus 2019-04-17 21:32:42 +02:00 committed by GitHub
commit 2dbc32340d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -240,6 +240,10 @@ public class XmppConnectionManager<DC extends AbstractXMPPConnection> {
} }
connections.clear(); connections.clear();
if (accountRegistrationConnection != null) {
accountRegistrationConnection.disconnect();
}
} }