Lines 226-232
Link Here
|
226 |
float lastWorked = 0; |
226 |
float lastWorked = 0; |
227 |
float totalWorked = 0; |
227 |
float totalWorked = 0; |
228 |
while ((awaitingJobsCount = awaitingJobsCount()) > 0) { |
228 |
while ((awaitingJobsCount = awaitingJobsCount()) > 0) { |
229 |
if (subProgress != null && subProgress.isCanceled()) |
229 |
if (subProgress != null && subProgress.isCanceled() && this.processingThread == null) |
230 |
throw new OperationCanceledException(); |
230 |
throw new OperationCanceledException(); |
231 |
IJob currentJob = currentJob(); |
231 |
IJob currentJob = currentJob(); |
232 |
// currentJob can be null when jobs have been added to the queue but job manager is not enabled |
232 |
// currentJob can be null when jobs have been added to the queue but job manager is not enabled |