2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 07:56:03 +00:00

fixed crash in mtpFileLoader delayed destroy, finishing breakpad at the very end, 0.9.29 dev

This commit is contained in:
John Preston
2016-03-01 21:41:06 +02:00
parent ebfeeb6872
commit cde264e5a1
6 changed files with 34 additions and 25 deletions

View File

@@ -344,23 +344,6 @@ void Application::closeApplication() {
if (_updateThread) _updateThread->quit();
_updateThread = 0;
#endif
DEBUG_LOG(("Telegram finished, result: %1").arg("unknown"));
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
if (cRestartingUpdate()) {
DEBUG_LOG(("Application Info: executing updater to install update.."));
psExecUpdater();
} else
#endif
if (cRestarting()) {
DEBUG_LOG(("Application Info: executing Telegram, because of restart.."));
psExecTelegram();
}
SignalHandlers::finish();
PlatformSpecific::finish();
Logs::finish();
}
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
@@ -1067,7 +1050,7 @@ AppClass::~AppClass() {
App::deinitMedia();
deinitImageLinkManager();
MTP::stop();
MTP::finish();
AppObject = 0;
deleteAndMark(_uploader);