Fixed an issue where the scraper could hang forever when no miximage was to be generated.

This commit is contained in:
Leon Styhre 2021-06-08 00:43:14 +02:00
parent afc8d2fdce
commit e25c43a6cc

View file

@ -698,6 +698,9 @@ void GuiScraperSearch::update(int deltaTime)
mMiximageGeneratorThread = std::thread(&MiximageGenerator::startThread,
mMiximageGenerator.get(), &mGeneratorPromise);
}
else {
returnResult(mScrapeResult);
}
}
else {
returnResult(mScrapeResult);