2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix logouting from the passcode.

This commit is contained in:
John Preston
2020-06-16 18:19:23 +04:00
parent ba103fdd40
commit c83659f0c7
9 changed files with 85 additions and 73 deletions

View File

@@ -460,9 +460,8 @@ void Account::loggedOut() {
window->tempDirDelete(Local::ClearManagerAll);
}
destroySession();
Core::App().unlockTerms();
local().reset();
Local::reset();
cSetOtherOnline(0);
}