mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 13:07:59 +01:00
Make sure that reconnect does not occur on conflict error.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6178 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
69b36d5861
commit
b34d338b31
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ public class ReconnectionManager implements ConnectionListener {
|
|||
* </ol>
|
||||
*/
|
||||
protected void reconnect() {
|
||||
if (this.isReconnectionAllowed() && reconnectionThread == null) {
|
||||
if (this.isReconnectionAllowed()) {
|
||||
// Since there is no thread running, creates a new one to attempt
|
||||
// the reconnection.
|
||||
reconnectionThread = new Thread() {
|
||||
|
|
Loading…
Reference in a new issue