Bugfix
This commit is contained in:
parent
c0842ba9d3
commit
073b50f5a9
@ -6424,7 +6424,7 @@ void MessagesManager::memory_cleanup(bool full) {
|
|||||||
while (it != found_public_dialogs_.end() && found_public_dialogs_.size() > 1000) {
|
while (it != found_public_dialogs_.end() && found_public_dialogs_.size() > 1000) {
|
||||||
auto search_string = it->first;
|
auto search_string = it->first;
|
||||||
found_on_server_dialogs_.erase(search_string);
|
found_on_server_dialogs_.erase(search_string);
|
||||||
it = it.erase(it);
|
it = found_public_dialogs_.erase(it);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
full_message_id_to_file_source_id_.clear();
|
full_message_id_to_file_source_id_.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user