[Backport release-11.x] Updater: Do not reset current task in finished signal (#5372)

This commit is contained in:
Alexandru Ionut Tripon 2026-04-12 11:52:52 +03:00 committed by GitHub
commit 50df409b28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1160,8 +1160,6 @@ void PrismUpdaterApp::downloadReleasePage(const QString& api_url, int page)
m_current_task.reset(download);
connect(download.get(), &Net::Download::finished, this, [this]() {
qDebug() << "Download" << m_current_task->getUid().toString() << "finished";
m_current_task.reset();
m_current_url = "";
});
QCoreApplication::processEvents();