Merge pull request #185 from flowln/fix_blocked_mods_crash

This commit is contained in:
Sefa Eyeoglu
2022-10-22 12:44:20 +02:00
parent 25b0ec6eff
commit a74fdc588c
2 changed files with 7 additions and 1 deletions

View File

@ -66,7 +66,11 @@ void Flame::FileResolvingTask::netJobFinished()
}
index++;
}
connect(job, &NetJob::finished, this, &Flame::FileResolvingTask::modrinthCheckFinished);
connect(job, &NetJob::finished, this,
[this, &job] {
modrinthCheckFinished();
job->deleteLater();
});
job->start();
}