mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-23 02:58:00 +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>
|
* </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() {
|
||||||
|
|
Loading…
Reference in a new issue