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
1 changed files with 1 additions and 1 deletions

View File

@ -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() {