2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 23:15:59 +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

@@ -1393,6 +1393,12 @@ void DocumentData::recountIsImage() {
DocumentData::~DocumentData() {
delete _additional;
if (loading()) {
_loader->deleteLater();
_loader->stop();
_loader = 0;
}
}
WebPageData::WebPageData(const WebPageId &id, WebPageType type, const QString &url, const QString &displayUrl, const QString &siteName, const QString &title, const QString &description, PhotoData *photo, DocumentData *doc, int32 duration, const QString &author, int32 pendingTill) : id(id)