diff --git a/sdks/js/src/classes/session.js b/sdks/js/src/classes/session.js index d640a6c..3b0f6f9 100644 --- a/sdks/js/src/classes/session.js +++ b/sdks/js/src/classes/session.js @@ -137,7 +137,7 @@ session.connect(function(err, result) { dfd.resolve(result); }) .catch((err) => { - this.disconnect() // this prevents reconnect on ws.close event + this.disconnect(); // this prevents reconnect on ws.close event if (this.connectAttempts) { this.clearExistingReconnectTimeout(); this.reconnectTimeout = setTimeout(() => {