Merge pull request #1123 from flowln/fix_abort_inst

This commit is contained in:
txtsd 2022-09-12 17:11:19 +05:30 committed by GitHub
commit 64a06b5ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,11 @@ auto NetJob::abort() -> bool
fullyAborted &= part->abort(); fullyAborted &= part->abort();
} }
if (fullyAborted)
emitAborted();
else
emitFailed(tr("Failed to abort all tasks in the NetJob!"));
return fullyAborted; return fullyAborted;
} }