Add RemoveAll to LayoutGroup destructor 21/195421/2
authorhuiyu.eun <huiyu.eun@samsung.com>
Thu, 13 Dec 2018 09:24:54 +0000 (18:24 +0900)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Mon, 17 Dec 2018 15:24:53 +0000 (15:24 +0000)
Change-Id: Ic8d0aa8a6fe3681ed50bf77d97824aa8c1e6887a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
dali-toolkit/devel-api/layouting/layout-group-impl.cpp

index a8927f9..835aa66 100644 (file)
@@ -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 )