1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

bug 416628: to fix intermittently failing test case

This commit is contained in:
Andrew Gvozdev 2013-09-21 06:19:24 -04:00
parent f49338fed1
commit d7dc313c49

View file

@ -243,9 +243,12 @@ 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) {
// log the error except if the project got closed in another thread which is OK
if (project.isOpen()) {
CCorePlugin.log(e); CCorePlugin.log(e);
} }
} }
}
if (des != null) { if (des != null) {
if (setLoaddedDescriptionOnLoad(project, des)) { if (setLoaddedDescriptionOnLoad(project, des)) {