mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 212031, reset factory on load.
This commit is contained in:
parent
602acfa948
commit
f1a4cdb2c4
1 changed files with 2 additions and 4 deletions
|
@ -192,6 +192,7 @@ public class CProjectDescription implements ICProjectDescription, ICDataProxyCon
|
|||
CConfigurationDescriptionCache cache = (CConfigurationDescriptionCache)iter.next();
|
||||
try {
|
||||
cache.loadData(factory);
|
||||
factory.clear();
|
||||
} catch (CoreException e) {
|
||||
CCorePlugin.log(e);
|
||||
iter.remove();
|
||||
|
@ -200,8 +201,6 @@ public class CProjectDescription implements ICProjectDescription, ICDataProxyCon
|
|||
|
||||
// doneInitializing();
|
||||
|
||||
factory.clear();
|
||||
|
||||
// fIsLoadding = false;
|
||||
}
|
||||
|
||||
|
@ -216,6 +215,7 @@ public class CProjectDescription implements ICProjectDescription, ICDataProxyCon
|
|||
try {
|
||||
if(cache.applyData(factory, context))
|
||||
modified = true;
|
||||
factory.clear();
|
||||
} catch (CoreException e) {
|
||||
CCorePlugin.log(e);
|
||||
e.printStackTrace();
|
||||
|
@ -225,8 +225,6 @@ public class CProjectDescription implements ICProjectDescription, ICDataProxyCon
|
|||
|
||||
// doneInitializing();
|
||||
|
||||
factory.clear();
|
||||
|
||||
// fIsApplying = false;
|
||||
|
||||
return modified;
|
||||
|
|
Loading…
Add table
Reference in a new issue