small pointer check
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
640aaa8c23
commit
9ee68b9268
@ -154,7 +154,8 @@ void EnsureMetadataTask::executeTask()
|
||||
|
||||
connect(version_task.get(), &Task::finished, [=] {
|
||||
version_task->deleteLater();
|
||||
m_current_task = nullptr;
|
||||
if (m_current_task)
|
||||
m_current_task.reset();
|
||||
});
|
||||
|
||||
if (m_mods.size() > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user