elm/list: return early from min_limit_cb if list object is dead

Summary:
no further recalculating should be done on dead objects

@fix
Depends on D8998

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8999
This commit is contained in:
Mike Blumenkrantz 2019-05-29 09:31:12 -04:00
parent f5d92b5297
commit 3ef9e5ac4c
1 changed files with 1 additions and 0 deletions

View File

@ -751,6 +751,7 @@ _elm_list_content_min_limit_cb(Evas_Object *obj,
if ((sd->mode == ELM_LIST_LIMIT) ||
(sd->mode == ELM_LIST_EXPAND)) return;
if (!efl_alive_get(obj)) return;
sd->scr_minw = !!w;
sd->scr_minh = !!h;