From f1bb4afa932c08add025eb75cb62aa04586040b1 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 26 Feb 2023 17:32:33 +0100 Subject: [PATCH] Added proper cleanup in ApplicationUpdater. --- es-app/src/ApplicationUpdater.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/es-app/src/ApplicationUpdater.cpp b/es-app/src/ApplicationUpdater.cpp index 04115fcb5..84e4debc9 100644 --- a/es-app/src/ApplicationUpdater.cpp +++ b/es-app/src/ApplicationUpdater.cpp @@ -116,9 +116,10 @@ void ApplicationUpdater::checkForUpdates() void ApplicationUpdater::updaterThread() { - if (!downloadFile()) { + if (!downloadFile()) compareVersions(); - } + + mRequest.reset(); } bool ApplicationUpdater::downloadFile()