View | Details | Raw Unified | Return to bug 327143 | Differences between
and this patch

Collapse All | Expand All

(-)search/org/eclipse/jdt/internal/core/search/processing/JobManager.java (-1 / +1 lines)
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

Return to bug 327143