diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-08-04 11:12:19 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-08-04 11:12:19 +0200 |
commit | b75ba53d4b00124fd8e04b47b11fd2fc6bd9b730 (patch) | |
tree | 714299a5f26e1f76a93a1902f2e762705bd7156d /api/logic/minecraft/mod/ModFolderModel.cpp | |
parent | 90378739282638c90906f09d97ba13940de8f043 (diff) | |
download | MultiMC-b75ba53d4b00124fd8e04b47b11fd2fc6bd9b730.tar MultiMC-b75ba53d4b00124fd8e04b47b11fd2fc6bd9b730.tar.gz MultiMC-b75ba53d4b00124fd8e04b47b11fd2fc6bd9b730.tar.lz MultiMC-b75ba53d4b00124fd8e04b47b11fd2fc6bd9b730.tar.xz MultiMC-b75ba53d4b00124fd8e04b47b11fd2fc6bd9b730.zip |
GH-2785 fix crash caused by starting multiple mod folder update tasks
Diffstat (limited to 'api/logic/minecraft/mod/ModFolderModel.cpp')
-rw-r--r-- | api/logic/minecraft/mod/ModFolderModel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/minecraft/mod/ModFolderModel.cpp b/api/logic/minecraft/mod/ModFolderModel.cpp index 632dd959..c9a69995 100644 --- a/api/logic/minecraft/mod/ModFolderModel.cpp +++ b/api/logic/minecraft/mod/ModFolderModel.cpp @@ -76,6 +76,7 @@ bool ModFolderModel::update() } if(m_update) { scheduled_update = true; + return true; } auto task = new ModFolderLoadTask(m_dir); |