1
0
Fork 0
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:
Ken Ryall 2008-01-18 21:22:29 +00:00
parent 602acfa948
commit f1a4cdb2c4

View file

@ -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;