something else might cause the object to get magically revived. Once the
object is invalidated, some things are able to set a parent again, which
causes the widget to continue with refcount 1 and a parent.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8637
if (!strcmp(part, sub_d->part))
{
if (content == sub_d->obj) goto end;
- _eo_unparent_helper(sub_d->obj, obj);
- evas_object_del(sub_d->obj);
+ if (efl_alive_get(sub_d->obj))
+ {
+ _eo_unparent_helper(sub_d->obj, obj);
+ evas_object_del(sub_d->obj);
+ }
break;
}
/* was previously swallowed at another part -- mimic