1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-26 10:25:32 +02:00

[385793] [dstore] DataStore spirit mechanism and other memory improvements needed

-updated to clear _attributes so element seen as deleted
This commit is contained in:
David McKnight 2012-09-04 21:44:57 +00:00
parent 5ef709f76d
commit eaef0e09b7
2 changed files with 2 additions and 2 deletions

View file

@ -1630,7 +1630,7 @@ public final class DataElement implements IDataElement
{ {
_attributes[i] = null; _attributes[i] = null;
} }
_attributes = null;
} }
if (_nestedData != null) if (_nestedData != null)

View file

@ -97,7 +97,7 @@ public abstract class UpdateHandler extends Handler
child.delete(); child.delete();
} }
} }
if (!virtual || !child.isSpirit()){ // leave the client attributes if spirited if (!virtual){ // leave the client attributes if spirited
child.clear(); child.clear();
} }
if (parent != null) if (parent != null)