Merge pull request #1123 from flowln/fix_abort_inst

This commit is contained in:
txtsd authored and GitHub committed 2022-09-12 17:11:19 +05:30
commit 64a06b5ed6
1 file changed
+5
+5
View File
@@ -95,6 +95,11 @@ auto NetJob::abort() -> bool
fullyAborted &= part->abort();
}
if (fullyAborted)
emitAborted();
else
emitFailed(tr("Failed to abort all tasks in the NetJob!"));
return fullyAborted;
}