efl_ui/layout: do not trigger sizing eval on hint change if object is dead

Summary:
this fixes a huge number of errors during object deletion

@fix
Depends on D8979

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8987
This commit is contained in:
Mike Blumenkrantz 2019-05-29 09:25:24 -04:00
parent 5e3532655b
commit 1986a30162
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ _on_sub_object_size_hint_change(void *data,
Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
{
if (!efl_alive_get(data)) return;
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
elm_layout_sizing_eval(data);
}