#include <FBase_StringConverter.h>
#include <FGrpRectangle.h>
#include <FUiAnim_DisplayManager.h>
+#include "FUiAnim_RootVisualElement.h"
#include "FUi_AccessibilityManager.h"
#include "FUi_Window.h"
#include "FShell_AppWidgetBuffer.h"
_AppWidgetLayer::~_AppWidgetLayer(void)
{
+ if(_pRootVisualElement)
+ {
+ _DisplayManager* pDisplayManager = _DisplayManager::GetInstance();
+ if (pDisplayManager)
+ {
+ pDisplayManager->UnregisterRoot(*_pRootVisualElement);
+ }
+ _pRootVisualElement->SetNativeLayer(null);
+ _pRootVisualElement->Destroy();
+ _EflLayer::_pRootVisualElement = null;
+ _NativeLayer::_pRootVisualElement = null;
+ }
+
__pRenderBuffer = null;
__pTempBuffer = null;
__pixmapId = -1;
// __pEcoreEvas.release(); // temp
_pEcoreEvas = null;
+ _pWindow = null;
}
result