Fixed an issue where a scrape followed by an aborted re-scrape could crash the application.

This commit is contained in:
Leon Styhre 2021-07-11 22:38:08 +02:00
parent 61827b4de1
commit 20d9721728

View file

@ -507,6 +507,7 @@ void GuiMetaDataEd::save()
void GuiMetaDataEd::fetch() void GuiMetaDataEd::fetch()
{ {
mMediaFilesUpdated = false;
GuiGameScraper* scr = new GuiGameScraper( GuiGameScraper* scr = new GuiGameScraper(
mWindow, mScraperParams, std::bind(&GuiMetaDataEd::fetchDone, this, std::placeholders::_1)); mWindow, mScraperParams, std::bind(&GuiMetaDataEd::fetchDone, this, std::placeholders::_1));
mWindow->pushGui(scr); mWindow->pushGui(scr);