Always wait for mailbox in MessagesManager just in case.

GitOrigin-RevId: edd7c3e794a8ba7c359e780835180d07bddd7ae3
This commit is contained in:
levlam 2018-02-13 20:00:40 +03:00
parent fb6e5883ee
commit d6e9386ca8

View File

@ -8635,6 +8635,8 @@ void MessagesManager::tear_down() {
}
void MessagesManager::start_up() {
always_wait_for_mailbox();
if (G()->parameters().use_message_db) {
ttl_db_loop_start(G()->server_time());
}