fix: memory leak when finishing blocked mods job
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
0a7383a4e1
commit
01b90809e8
@ -66,7 +66,11 @@ void Flame::FileResolvingTask::netJobFinished()
|
|||||||
}
|
}
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
connect(job, &NetJob::finished, this, &Flame::FileResolvingTask::modrinthCheckFinished);
|
connect(job, &NetJob::finished, this,
|
||||||
|
[this, &job] {
|
||||||
|
modrinthCheckFinished();
|
||||||
|
job->deleteLater();
|
||||||
|
});
|
||||||
|
|
||||||
job->start();
|
job->start();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user