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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user