mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix possible crash on force-logout from the server..
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user