mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-19 02:22:05 +01:00
Merge pull request #311 from guusdk/sint-accountmanager-disconnect
Admin should be disconnected after tests.
This commit is contained in:
commit
2dbc32340d
1 changed files with 4 additions and 0 deletions
|
@ -240,6 +240,10 @@ public class XmppConnectionManager<DC extends AbstractXMPPConnection> {
|
|||
}
|
||||
|
||||
connections.clear();
|
||||
|
||||
if (accountRegistrationConnection != null) {
|
||||
accountRegistrationConnection.disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue