Do not erase DeleteMessage log event while closing.
GitOrigin-RevId: 588eeb309964f489186c4614d0dca4c820aedf39
This commit is contained in:
parent
2ccd37584f
commit
4859485768
@ -23018,7 +23018,7 @@ void MessagesManager::do_delete_message_logevent(const DeleteMessageLogEvent &lo
|
||||
|
||||
MultiPromiseActorSafe mpas{"DeleteMessageMultiPromiseActor"};
|
||||
mpas.add_promise(PromiseCreator::lambda([logevent_id](Result<Unit> result) {
|
||||
if (result.is_error()) {
|
||||
if (result.is_error() || G()->close_flag()) {
|
||||
return;
|
||||
}
|
||||
binlog_erase(G()->td_db()->get_binlog(), logevent_id);
|
||||
|
Loading…
Reference in New Issue
Block a user