1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

PDOMManager has to wait for the indexer job to respond to cancellation.

This commit is contained in:
Sergey Prigogin 2014-04-11 14:15:59 -07:00
parent 362fe864f3
commit 41b9049afa

View file

@ -280,7 +280,7 @@ public class PDOMManager implements IWritableIndexManager, IListener {
if (jobToCancel != null) {
assert !Thread.holdsLock(fTaskQueue);
jobToCancel.cancelJobs(null, false);
jobToCancel.cancelJobs(null, true);
}
Job.getJobManager().removeJobChangeListener(fJobChangeListener);
}