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.
|
// Status == ASYNC_IN_PROGRESS.
|
||||||
}
|
}
|
||||||
|
|
||||||
// We finished without any errors!
|
// Check if we finished without any errors and if so set the status flag accordingly.
|
||||||
if (mRequestQueue.empty()) {
|
if (mRequestQueue.empty() && mStatus != ASYNC_ERROR) {
|
||||||
setStatus(ASYNC_DONE);
|
setStatus(ASYNC_DONE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue