fix the case reconnection doesn't work

This commit is contained in:
nkzawa
2015-10-11 12:03:58 +09:00
parent cfa2d5bf41
commit 34277c5d47

View File

@@ -463,6 +463,7 @@ public class Manager extends Emitter {
this.cleanup(); this.cleanup();
} }
this.skipReconnect = true; this.skipReconnect = true;
this.reconnecting = false;
this.backoff.reset(); this.backoff.reset();
this.readyState = ReadyState.CLOSED; this.readyState = ReadyState.CLOSED;
if (this.engine != null) { if (this.engine != null) {