Fixed a use after free issue in GuiScraperMulti.

This commit is contained in:
Leon Styhre 2023-01-23 21:30:09 +01:00
parent 32e1e7bc6c
commit 7196ed9088

View file

@ -268,10 +268,10 @@ void GuiScraperMulti::acceptResult(const ScraperSearchResult& result)
search.system->getIndex()->addToIndex(search.game);
mSearchQueue.pop();
++mCurrentGame;
++mTotalSuccessful;
CollectionSystemsManager::getInstance()->refreshCollectionSystems(search.game);
mSearchQueue.pop();
doNextSearch();
}