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:
parent
cbd551eeef
commit
d17ddfebab
1 changed files with 3 additions and 1 deletions
|
@ -294,7 +294,9 @@ public abstract class CRefactoring extends Refactoring {
|
||||||
if (fIndex != null) {
|
if (fIndex != null) {
|
||||||
fIndex.releaseReadLock();
|
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() {
|
public IIndex getIndex() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue