mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Fix NPE found in the tests.
This commit is contained in:
parent
5caada25a2
commit
720cdaacbb
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ public abstract class JobManager implements Runnable {
|
|||
for (int i = jobStart; i <= jobEnd; i++) {
|
||||
currentJob = awaitingJobs[i];
|
||||
awaitingJobs[i] = null;
|
||||
if (!(jobFamily == null
|
||||
if (!(jobFamily == null || currentJob == null
|
||||
|| currentJob.belongsTo(jobFamily))) { // copy down, compacting
|
||||
awaitingJobs[++loc] = currentJob;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue