mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-17 07:55:55 -04:00
Fix compile
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
89a327d363
commit
24cecf7b63
@ -303,8 +303,8 @@ bool ModrinthCreationTask::createInstance()
|
||||
loop.exec();
|
||||
|
||||
if (!ended_well) {
|
||||
for (auto m : mods) {
|
||||
delete m;
|
||||
for (auto resource : resources) {
|
||||
delete resource;
|
||||
}
|
||||
return ended_well;
|
||||
}
|
||||
@ -324,8 +324,8 @@ bool ModrinthCreationTask::createInstance()
|
||||
m_task = ensureMetadataTask;
|
||||
|
||||
ensureMetaLoop.exec();
|
||||
for (auto m : resources) {
|
||||
delete m;
|
||||
for (auto resource : resources) {
|
||||
delete resource;
|
||||
}
|
||||
resources.clear();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user