GH-2785 fix crash caused by starting multiple mod folder update tasks

This commit is contained in:
Petr Mrázek 2019-08-04 11:12:19 +02:00
parent 9037873928
commit b75ba53d4b

View File

@ -76,6 +76,7 @@ bool ModFolderModel::update()
}
if(m_update) {
scheduled_update = true;
return true;
}
auto task = new ModFolderLoadTask(m_dir);