bug T569 still shows that we have cases where, during e shutdown, we
still get eo_data_scope_get() return NULL for a parent object.
whatever this is, segfaulting is much worse than protecting and
marching on. so protect
Private_Data *old_parent_pd;
old_parent_pd = eo_data_scope_get(pd->parent, EO_BASE_CLASS);
- old_parent_pd->children = eina_list_remove(old_parent_pd->children,
- obj);
+ if (old_parent_pd)
+ old_parent_pd->children = eina_list_remove(old_parent_pd->children,
+ obj);
eo_xunref(obj, pd->parent);
}