mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-26 18:35: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:
parent
5ef709f76d
commit
eaef0e09b7
2 changed files with 2 additions and 2 deletions
|
@ -1630,7 +1630,7 @@ public final class DataElement implements IDataElement
|
||||||
{
|
{
|
||||||
_attributes[i] = null;
|
_attributes[i] = null;
|
||||||
}
|
}
|
||||||
|
_attributes = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_nestedData != null)
|
if (_nestedData != null)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue