GH-2785 fix crash caused by starting multiple mod folder update tasks
This commit is contained in:
parent
9037873928
commit
b75ba53d4b
@ -76,6 +76,7 @@ bool ModFolderModel::update()
|
|||||||
}
|
}
|
||||||
if(m_update) {
|
if(m_update) {
|
||||||
scheduled_update = true;
|
scheduled_update = true;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto task = new ModFolderLoadTask(m_dir);
|
auto task = new ModFolderLoadTask(m_dir);
|
||||||
|
Loading…
Reference in New Issue
Block a user