fix (client retry) check if explicitly disconnected
This commit is contained in:
parent
c82afb34b5
commit
f483e3153a
1 changed files with 3 additions and 0 deletions
|
@ -188,6 +188,9 @@ function connect(){
|
|||
|
||||
setTimeout(
|
||||
function retryTimeout(){
|
||||
if (client.explicitlyDisconnected) {
|
||||
return;
|
||||
}
|
||||
client.retriesRemaining--;
|
||||
client.connect();
|
||||
}.bind(null,client),
|
||||
|
|
Loading…
Reference in a new issue