Fix possible crash on force-logout from the server..
This commit is contained in:
parent
7e98e9ecf2
commit
a1a5ef9d39
|
@ -198,7 +198,6 @@ QByteArray Session::validTmpPassword() const {
|
||||||
|
|
||||||
// Can be called only right before ~Session.
|
// Can be called only right before ~Session.
|
||||||
void Session::finishLogout() {
|
void Session::finishLogout() {
|
||||||
updates().updateOnline();
|
|
||||||
unlockTerms();
|
unlockTerms();
|
||||||
data().clear();
|
data().clear();
|
||||||
data().clearLocalStorage();
|
data().clearLocalStorage();
|
||||||
|
|
Loading…
Reference in New Issue