Clean leaking pending photos map

This commit is contained in:
Andrea Cavalli 2021-07-02 13:49:43 +02:00
parent d5035deb93
commit 33e6fde5b1

View File

@ -16094,6 +16094,8 @@ void ContactsManager::memory_cleanup(bool full) {
user_photos_.rehash(0);
unknown_users_.clear();
unknown_users_.rehash(0);
pending_user_photos_.clear();
pending_user_photos_.rehash(0);
user_profile_photo_file_source_ids_.clear();
user_profile_photo_file_source_ids_.rehash(0);
my_photo_file_id_.clear();