From 16a6adbc9245b63956542dd3e0b811c5f469a3f6 Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Thu, 13 Dec 2018 18:24:54 +0900 Subject: [PATCH] Add RemoveAll to LayoutGroup destructor Change-Id: Ic8d0aa8a6fe3681ed50bf77d97824aa8c1e6887a Signed-off-by: huiyu.eun --- dali-toolkit/devel-api/layouting/layout-group-impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dali-toolkit/devel-api/layouting/layout-group-impl.cpp b/dali-toolkit/devel-api/layouting/layout-group-impl.cpp index a8927f9..835aa66 100644 --- a/dali-toolkit/devel-api/layouting/layout-group-impl.cpp +++ b/dali-toolkit/devel-api/layouting/layout-group-impl.cpp @@ -59,6 +59,7 @@ LayoutGroup::~LayoutGroup() { // An object with a unique_ptr to an opaque structure must define it's destructor in the translation unit // where the opaque structure is defined. It cannot use the default method in the header file. + RemoveAll(); } Toolkit::LayoutGroup::LayoutId LayoutGroup::Add( LayoutItem& child ) -- 2.7.4