Merge pull request #1123 from flowln/fix_abort_inst
This commit is contained in:
commit
64a06b5ed6
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user