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

Fix possible crash in application shutdown.

This commit is contained in:
John Preston
2023-03-17 21:05:27 +04:00
parent e4834f583f
commit bcb07110e0
3 changed files with 7 additions and 0 deletions

View File

@@ -388,6 +388,7 @@ void Session::clear() {
for (const auto &[id, folder] : _folders) {
folder->clearChatsList();
}
_chatsFilters->clear();
_histories->clearAll();
_webpages.clear();
_locations.clear();