Fix actor leak
This commit is contained in:
parent
608b0208af
commit
ab68dabe74
@ -3244,6 +3244,7 @@ void Td::dec_actor_refcnt() {
|
|||||||
reset_manager(sponsored_message_manager_, "SponsoredMessageManager");
|
reset_manager(sponsored_message_manager_, "SponsoredMessageManager");
|
||||||
reset_manager(statistics_manager_, "StatisticsManager");
|
reset_manager(statistics_manager_, "StatisticsManager");
|
||||||
reset_manager(stickers_manager_, "StickersManager");
|
reset_manager(stickers_manager_, "StickersManager");
|
||||||
|
reset_manager(memory_manager_, "MemoryManager");
|
||||||
reset_manager(story_manager_, "StoryManager");
|
reset_manager(story_manager_, "StoryManager");
|
||||||
reset_manager(theme_manager_, "ThemeManager");
|
reset_manager(theme_manager_, "ThemeManager");
|
||||||
reset_manager(time_zone_manager_, "TimeZoneManager");
|
reset_manager(time_zone_manager_, "TimeZoneManager");
|
||||||
@ -3428,6 +3429,7 @@ void Td::clear() {
|
|||||||
reset_actor(ActorOwn<Actor>(std::move(sponsored_message_manager_actor_)));
|
reset_actor(ActorOwn<Actor>(std::move(sponsored_message_manager_actor_)));
|
||||||
reset_actor(ActorOwn<Actor>(std::move(statistics_manager_actor_)));
|
reset_actor(ActorOwn<Actor>(std::move(statistics_manager_actor_)));
|
||||||
reset_actor(ActorOwn<Actor>(std::move(stickers_manager_actor_)));
|
reset_actor(ActorOwn<Actor>(std::move(stickers_manager_actor_)));
|
||||||
|
reset_actor(ActorOwn<Actor>(std::move(memory_manager_actor_)));
|
||||||
reset_actor(ActorOwn<Actor>(std::move(story_manager_actor_)));
|
reset_actor(ActorOwn<Actor>(std::move(story_manager_actor_)));
|
||||||
reset_actor(ActorOwn<Actor>(std::move(theme_manager_actor_)));
|
reset_actor(ActorOwn<Actor>(std::move(theme_manager_actor_)));
|
||||||
reset_actor(ActorOwn<Actor>(std::move(time_zone_manager_actor_)));
|
reset_actor(ActorOwn<Actor>(std::move(time_zone_manager_actor_)));
|
||||||
|
Loading…
Reference in New Issue
Block a user