Update ContactsManager.cpp

This commit is contained in:
Andrea Cavalli 2020-07-29 17:13:12 +02:00
parent 3fe1a1319b
commit e2947da564

View File

@ -14350,20 +14350,18 @@ void ContactsManager::memory_cleanup() {
user_photos_.rehash(0);
user_profile_photo_file_source_ids_.clear();
user_profile_photo_file_source_ids_.rehash(0);
chat_photo_file_source_ids_.clear();
chat_photo_file_source_ids_.rehash(0);
chat_full_file_source_ids_.clear();
chat_full_file_source_ids_.rehash(0);
channels_full_.clear();
channels_full_.rehash(0);
channel_photo_file_source_ids_.clear();
channel_photo_file_source_ids_.rehash(0);
channel_full_file_source_ids_.clear();
channel_full_file_source_ids_.rehash(0);
secret_chats_.clear();
secret_chats_.rehash(0);
secret_chats_with_user_.clear();
secret_chats_with_user_.rehash(0);
chat_invite_links_.clear();
chat_invite_links_.rehash(0);
channel_invite_links_.clear();
channel_invite_links_.rehash(0);
dialog_invite_links_.clear();
dialog_invite_links_.rehash(0);
invite_link_infos_.clear();
invite_link_infos_.rehash(0);
load_user_from_database_queries_.clear();