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

2005-03-18 Alain Magloire

Move more code in the try/finally as a precaution.  Bad things
	where happening (i.e. NPE) but the monitor was not decremented
	* index/org/eclipse/cdt/internal/core/indexing/IndexManager.java
This commit is contained in:
Alain Magloire 2005-03-18 19:06:22 +00:00
parent 6f3bf0d981
commit 1575e7878e
2 changed files with 30 additions and 24 deletions

View file

@ -1,3 +1,8 @@
2005-03-18 Alain Magloire
Move more code in the try/finally as a precaution. Bad things
where happening (i.e. NPE) but the monitor was not decremented
* index/org/eclipse/cdt/internal/core/indexing/IndexManager.java
2005-03-15 Bogdan Gheorghe
Added a check for closed projects to update code

View file

@ -415,7 +415,7 @@ public class IndexManager extends JobManager{
//this point
ICDTIndexer indexer = null;
indexer = (ICDTIndexer) indexerMap.get(project);
try {
if (indexer == null){
String indexerID = null;
try {
@ -439,7 +439,8 @@ public class IndexManager extends JobManager{
//Make sure we're not putting null in map
if (indexer != null)
indexerMap.put(project,indexer);
}
} finally {
monitor.exitRead();
}