fix: don't process socket.connect() if we are already re-connecting (#577)

This commit is contained in:
Kushtrim Pacaj
2020-12-10 11:47:20 +01:00
committed by GitHub
parent 91c0a85c0f
commit 54b73114d1
2 changed files with 5 additions and 1 deletions

View File

@@ -191,6 +191,10 @@ public class Manager extends Emitter {
return this;
}
public boolean isReconnecting() {
return reconnecting;
}
public int reconnectionAttempts() {
return this._reconnectionAttempts;
}