1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-16 04:12:04 +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:
Derek DeMoro 2006-11-20 18:03:53 +00:00 committed by derek
parent 69b36d5861
commit b34d338b31

View file

@ -96,7 +96,7 @@ public class ReconnectionManager implements ConnectionListener {
* </ol> * </ol>
*/ */
protected void reconnect() { protected void reconnect() {
if (this.isReconnectionAllowed() && reconnectionThread == null) { if (this.isReconnectionAllowed()) {
// Since there is no thread running, creates a new one to attempt // Since there is no thread running, creates a new one to attempt
// the reconnection. // the reconnection.
reconnectionThread = new Thread() { reconnectionThread = new Thread() {