1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

Bug 335122 - Fix index locking issue discovered by running the 'old' ImplementMethod test (new one being Bug 292851). Should fix build not ending.

This commit is contained in:
Marc-Andre Laperle 2011-03-13 10:27:31 +00:00
parent cbd551eeef
commit d17ddfebab

View file

@ -294,7 +294,9 @@ public abstract class CRefactoring extends Refactoring {
if (fIndex != null) {
fIndex.releaseReadLock();
}
fIndex= null;
// Marc-Andre Laperle : I don't think we want to null this out,
// if the lock is acquired twice then the lock can only be released once
//fIndex= null;
}
public IIndex getIndex() {