Correctly asynchronously destroy found_stickers_.

This commit is contained in:
levlam 2023-11-11 09:21:07 +03:00
parent 1d1d41e39e
commit 24f74a018e

View File

@ -1635,9 +1635,9 @@ StickersManager::StickersManager(Td *td, ActorShared<> parent) : td_(td), parent
StickersManager::~StickersManager() {
Scheduler::instance()->destroy_on_scheduler(
G()->get_gc_scheduler_id(), stickers_, sticker_sets_, short_name_to_sticker_set_id_, attached_sticker_sets_,
found_stickers_, found_sticker_sets_, emoji_language_codes_, emoji_language_code_versions_,
emoji_language_code_last_difference_times_, reloaded_emoji_keywords_, premium_gift_messages_, dice_messages_,
emoji_messages_, custom_emoji_messages_, custom_emoji_to_sticker_id_);
found_stickers_[0], found_stickers_[1], found_stickers_[2], found_sticker_sets_, emoji_language_codes_,
emoji_language_code_versions_, emoji_language_code_last_difference_times_, reloaded_emoji_keywords_,
premium_gift_messages_, dice_messages_, emoji_messages_, custom_emoji_messages_, custom_emoji_to_sticker_id_);
}
void StickersManager::start_up() {