From e25c43a6cca48e348205a47a44d5817cfd889777 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 8 Jun 2021 00:43:14 +0200 Subject: [PATCH] Fixed an issue where the scraper could hang forever when no miximage was to be generated. --- es-app/src/guis/GuiScraperSearch.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/es-app/src/guis/GuiScraperSearch.cpp b/es-app/src/guis/GuiScraperSearch.cpp index a2acbddb8..129dbf430 100644 --- a/es-app/src/guis/GuiScraperSearch.cpp +++ b/es-app/src/guis/GuiScraperSearch.cpp @@ -698,6 +698,9 @@ void GuiScraperSearch::update(int deltaTime) mMiximageGeneratorThread = std::thread(&MiximageGenerator::startThread, mMiximageGenerator.get(), &mGeneratorPromise); } + else { + returnResult(mScrapeResult); + } } else { returnResult(mScrapeResult);