mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Version 1.0.29: Fix crash on app quit.
Some cleanup actions in App::clearHistories() queue file loader destructions that should be completed before MTProto is reset.
This commit is contained in:
parent
252a6f9d5a
commit
7b7df23e3b
1 changed files with 1 additions and 1 deletions
|
@ -696,8 +696,8 @@ void Messenger::prepareToDestroy() {
|
|||
_window.reset();
|
||||
|
||||
// Some MTP requests can be cancelled from data clearing.
|
||||
_delayedDestroyedLoaders.clear();
|
||||
App::clearHistories();
|
||||
_delayedDestroyedLoaders.clear();
|
||||
authSessionDestroy();
|
||||
|
||||
_mtproto.reset();
|
||||
|
|
Loading…
Add table
Reference in a new issue