diff options
| author | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-12 19:55:11 +0300 |
|---|---|---|
| committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-12 19:55:11 +0300 |
| commit | 25f7cf23d3572e444617c347ade71fffddd8af8b (patch) | |
| tree | 2852e70c6964ff5c5a5d97a7fffabf9ecdd50d07 /launcher | |
| parent | 9ee68b926829495b4b87e7044bd31352ef6a6a84 (diff) | |
| download | PrismLauncher-25f7cf23d3572e444617c347ade71fffddd8af8b.tar.gz PrismLauncher-25f7cf23d3572e444617c347ade71fffddd8af8b.tar.bz2 PrismLauncher-25f7cf23d3572e444617c347ade71fffddd8af8b.zip | |
the other place
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher')
| -rw-r--r-- | launcher/modplatform/EnsureMetadataTask.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/modplatform/EnsureMetadataTask.cpp b/launcher/modplatform/EnsureMetadataTask.cpp index d7649700..c3eadd06 100644 --- a/launcher/modplatform/EnsureMetadataTask.cpp +++ b/launcher/modplatform/EnsureMetadataTask.cpp @@ -145,7 +145,8 @@ void EnsureMetadataTask::executeTask() connect(project_task.get(), &Task::finished, this, [=] { invalidade_leftover(); project_task->deleteLater(); - m_current_task = nullptr; + if (m_current_task) + m_current_task.reset(); }); m_current_task = project_task; |
