, __pDefaultTimingFunction(null)
, __pDefaultInterpolator(null)
{
- __committedList.Construct();
+
}
_AnimationManager::~_AnimationManager(void)
{
- if (__pCurrentTransaction)
- {
- delete __pCurrentTransaction;
- __pCurrentTransaction = null;
- }
- __committedList.RemoveAllNodes();
- __pInstance = null;
}
_AnimationManager*
pAnimator = null;
}
+ if (__pCurrentTransaction)
+ {
+ delete __pCurrentTransaction;
+ __pCurrentTransaction = null;
+ }
+
+ __committedList.RemoveAllNodes();
+
delete __pRootTransaction;
__pRootTransaction = null;
{
result r = E_SUCCESS;
+ __committedList.Construct();
+
__pRootTransaction = new (std::nothrow) _TransactionNode();
SysTryReturnResult(NID_UI_ANIM, (__pRootTransaction != null), E_OUT_OF_MEMORY, "Memory allocation failed. Failed to create root transaction");
{
pNode = __committedList.GetNodeAt(index);
- if (pNode)
+ if (pNode)__pRootTransaction
{
r = pNode->RemoveChildrenAnimation(target, keyName);