mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fixed an issue where the scraper wouldn't handle errors correctly.
This commit is contained in:
parent
676b076e07
commit
af37173a0b
|
@ -107,8 +107,8 @@ void ScraperSearchHandle::update()
|
|||
// Status == ASYNC_IN_PROGRESS.
|
||||
}
|
||||
|
||||
// We finished without any errors!
|
||||
if (mRequestQueue.empty()) {
|
||||
// Check if we finished without any errors and if so set the status flag accordingly.
|
||||
if (mRequestQueue.empty() && mStatus != ASYNC_ERROR) {
|
||||
setStatus(ASYNC_DONE);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue