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:
parent
994628eca9
commit
4a6ea58842
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue