fix (client retry) check if explicitly disconnected

This commit is contained in:
Alex Kit 2021-02-26 11:07:03 +01:00
parent c82afb34b5
commit f483e3153a

View file

@ -188,6 +188,9 @@ function connect(){
setTimeout(
function retryTimeout(){
if (client.explicitlyDisconnected) {
return;
}
client.retriesRemaining--;
client.connect();
}.bind(null,client),