1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

Bug 313725: Suppress error when parsing a file of a project that is being closed.

This commit is contained in:
Markus Schorn 2010-05-20 14:42:33 +00:00
parent 994628eca9
commit 4a6ea58842

View file

@ -972,6 +972,10 @@ public class CCorePlugin extends Plugin {
provider = fNewCProjectDescriptionManager.getScannerInfoProviderProxy(project);
project.setSessionProperty(scannerInfoProviderName, provider);
} catch (CoreException e) {
// Bug 313725: When project is being closed, don't report an error.
if (!project.isOpen())
return null;
log(e);
}