Added proper cleanup in ApplicationUpdater.

This commit is contained in:
Leon Styhre 2023-02-26 17:32:33 +01:00
parent 3083df0126
commit f1bb4afa93

View file

@ -116,9 +116,10 @@ void ApplicationUpdater::checkForUpdates()
void ApplicationUpdater::updaterThread() void ApplicationUpdater::updaterThread()
{ {
if (!downloadFile()) { if (!downloadFile())
compareVersions(); compareVersions();
}
mRequest.reset();
} }
bool ApplicationUpdater::downloadFile() bool ApplicationUpdater::downloadFile()