1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +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,7 +243,10 @@ public class XmlProjectDescriptionStorage extends AbstractCProjectDescriptionSto
context = new SettingsContext(project);
des = getConvertedDescription(context);
} 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);
}
}
}