clear reconnect timer on logout

This commit is contained in:
or-else
2021-06-24 19:54:58 -07:00
parent 181161250a
commit bf9ba90ed3
+2
View File
@@ -1253,6 +1253,8 @@ class TinodeWeb extends React.Component {
this.fbPush.deleteToken(this.state.firebaseToken)
}
clearInterval(this.reconnectCountdown);
if (this.tinode) {
this.tinode.clearStorage();
this.tinode.onDisconnect = undefined;