mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +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();
|
connections.clear();
|
||||||
|
|
||||||
|
if (accountRegistrationConnection != null) {
|
||||||
|
accountRegistrationConnection.disconnect();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue