mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
bug 416628: to fix intermittently failing test case
This commit is contained in:
parent
f49338fed1
commit
d7dc313c49
1 changed files with 4 additions and 1 deletions
|
@ -243,7 +243,10 @@ public class XmlProjectDescriptionStorage extends AbstractCProjectDescriptionSto
|
||||||
context = new SettingsContext(project);
|
context = new SettingsContext(project);
|
||||||
des = getConvertedDescription(context);
|
des = getConvertedDescription(context);
|
||||||
} catch (CoreException e) {
|
} catch (CoreException e) {
|
||||||
CCorePlugin.log(e);
|
// log the error except if the project got closed in another thread which is OK
|
||||||
|
if (project.isOpen()) {
|
||||||
|
CCorePlugin.log(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue