Fix MessagesManager closing.
This commit is contained in:
parent
1bd9e0f622
commit
911c5fc32b
@ -12576,6 +12576,11 @@ void MessagesManager::tear_down() {
|
||||
parent_.reset();
|
||||
}
|
||||
|
||||
void MessagesManager::hangup() {
|
||||
postponed_channel_updates_.clear();
|
||||
stop();
|
||||
}
|
||||
|
||||
void MessagesManager::start_up() {
|
||||
init();
|
||||
}
|
||||
|
@ -2789,9 +2789,13 @@ class MessagesManager final : public Actor {
|
||||
void on_message_ttl_expired_impl(Dialog *d, Message *m);
|
||||
|
||||
void start_up() final;
|
||||
|
||||
void loop() final;
|
||||
|
||||
void tear_down() final;
|
||||
|
||||
void hangup() final;
|
||||
|
||||
void create_folders();
|
||||
void init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user