mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-12 01:14:56 +00: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
@ -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…
Reference in New Issue
Block a user