diff --git a/src/views/tinode-web.jsx b/src/views/tinode-web.jsx index e2da465f..231de83b 100644 --- a/src/views/tinode-web.jsx +++ b/src/views/tinode-web.jsx @@ -367,10 +367,7 @@ class TinodeWeb extends React.Component { // Called for each auto-reconnect iteration. handleAutoreconnectIteration(sec, prom) { - if (this.reconnectCountdown) { - clearInterval(this.reconnectCountdown); - this.reconnectCountdown = null; - } + clearInterval(this.reconnectCountdown); if (sec < 0) { // Clear error