1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixes an occasional junit test-failure.

This commit is contained in:
Markus Schorn 2007-05-15 12:17:41 +00:00
parent 416223100d
commit 6abeeb8397

View file

@ -49,7 +49,9 @@ public class CCoreInternals {
try {
if (project != null) {
new LocalProjectScope(project).getNode(CCorePlugin.PLUGIN_ID).flush();
new ProjectScope(project).getNode(CCorePlugin.PLUGIN_ID).flush();
if (project.isOpen()) {
new ProjectScope(project).getNode(CCorePlugin.PLUGIN_ID).flush();
}
}
new InstanceScope().getNode(CCorePlugin.PLUGIN_ID).flush();
} catch (BackingStoreException e) {