mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Fixed a use after free issue in GuiScraperMulti.
This commit is contained in:
parent
32e1e7bc6c
commit
7196ed9088
|
@ -268,10 +268,10 @@ void GuiScraperMulti::acceptResult(const ScraperSearchResult& result)
|
||||||
|
|
||||||
search.system->getIndex()->addToIndex(search.game);
|
search.system->getIndex()->addToIndex(search.game);
|
||||||
|
|
||||||
mSearchQueue.pop();
|
|
||||||
++mCurrentGame;
|
++mCurrentGame;
|
||||||
++mTotalSuccessful;
|
++mTotalSuccessful;
|
||||||
CollectionSystemsManager::getInstance()->refreshCollectionSystems(search.game);
|
CollectionSystemsManager::getInstance()->refreshCollectionSystems(search.game);
|
||||||
|
mSearchQueue.pop();
|
||||||
doNextSearch();
|
doNextSearch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue