canvas grid: fix inifinite loop dead.

Here parent smart del() call occurs inifinite loop for member deletion,

Maybe we need a better clean and neat solution here.
This commit is contained in:
Hermet Park 2020-03-06 23:48:43 +09:00
parent 32597e7e77
commit 7664aa97c0
1 changed files with 5 additions and 2 deletions

View File

@ -185,8 +185,11 @@ _evas_object_grid_smart_del(Evas_Object *o)
free(opt);
priv->children = eina_list_remove_list(priv->children, priv->children);
}
_evas_object_grid_parent_sc->del(o);
//Free the clipper resource properly,
Eo *clipper = evas_object_smart_clipped_clipper_get(o);
if (clipper) evas_object_del(clipper);
/* below deletion occurs the recursive member remove hell. */
// _evas_object_grid_parent_sc->del(o);
}
static void