mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Fix for intermittent search test failures
This commit is contained in:
parent
78d0dff593
commit
79365779b6
1 changed files with 4 additions and 1 deletions
|
@ -41,7 +41,8 @@ public abstract class JobManager implements Runnable {
|
|||
|
||||
private int awaitingClients = 0;
|
||||
|
||||
protected HashSet jobSet = new HashSet();
|
||||
protected HashSet jobSet;
|
||||
|
||||
public static void verbose(String log) {
|
||||
System.out.println("(" + Thread.currentThread() + ") " + log); //$NON-NLS-1$//$NON-NLS-2$
|
||||
}
|
||||
|
@ -362,6 +363,8 @@ public abstract class JobManager implements Runnable {
|
|||
thread.setPriority(Thread.NORM_PRIORITY-1);
|
||||
thread.start();
|
||||
}
|
||||
|
||||
jobSet = new HashSet();
|
||||
}
|
||||
/**
|
||||
* Infinite loop performing resource indexing
|
||||
|
|
Loading…
Add table
Reference in a new issue