mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Fixed an issue where the scraper could hang forever when no miximage was to be generated.
This commit is contained in:
parent
afc8d2fdce
commit
e25c43a6cc
|
@ -698,6 +698,9 @@ void GuiScraperSearch::update(int deltaTime)
|
||||||
mMiximageGeneratorThread = std::thread(&MiximageGenerator::startThread,
|
mMiximageGeneratorThread = std::thread(&MiximageGenerator::startThread,
|
||||||
mMiximageGenerator.get(), &mGeneratorPromise);
|
mMiximageGenerator.get(), &mGeneratorPromise);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
returnResult(mScrapeResult);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
returnResult(mScrapeResult);
|
returnResult(mScrapeResult);
|
||||||
|
|
Loading…
Reference in a new issue