mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 15:25:49 +02:00
reset the nonCResource in when the CProject is close
This commit is contained in:
parent
b5f7b12be4
commit
ce09c92287
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-03-30 Alain Magloire
|
||||||
|
|
||||||
|
Reset the non C Resource when the project is closed.
|
||||||
|
|
||||||
|
* model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
|
||||||
|
|
||||||
2004-03-29 David Inglis
|
2004-03-29 David Inglis
|
||||||
|
|
||||||
Fixed shutdown problems. https://bugs.eclipse.org/bugs/show_bug.cgi?id=56584
|
Fixed shutdown problems. https://bugs.eclipse.org/bugs/show_bug.cgi?id=56584
|
||||||
|
|
|
@ -353,7 +353,7 @@ public class DeltaProcessor {
|
||||||
protected void traverseDelta(ICElement parent, IResourceDelta delta) {
|
protected void traverseDelta(ICElement parent, IResourceDelta delta) {
|
||||||
try {
|
try {
|
||||||
ICElement current = updateCurrentDeltaAndIndex(delta);
|
ICElement current = updateCurrentDeltaAndIndex(delta);
|
||||||
if (current == null) {
|
if (current == null || (current instanceof ICProject && !((ICProject)current).getProject().isOpen())) {
|
||||||
nonCResourcesChanged(parent, delta);
|
nonCResourcesChanged(parent, delta);
|
||||||
} else {
|
} else {
|
||||||
parent = current;
|
parent = current;
|
||||||
|
|
Loading…
Add table
Reference in a new issue