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:
parent
416223100d
commit
6abeeb8397
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue