forked from enlightenment/efl
eo: do not allocate extension if deleting
Summary: ->ext is getting freed during invalidate. If we unregister during destruction (which is something that might happen) we should not allocate the extension again. Reviewers: woohyun, zmike, eagleeye Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11524
This commit is contained in:
parent
e9493fbafc
commit
64f7edc7fc
|
@ -2325,7 +2325,7 @@ _efl_object_event_callback_forwarder_del(Eo *obj, Efl_Object_Data *pd EINA_UNUSE
|
|||
dpd = efl_data_scope_safe_get(new_obj, EFL_OBJECT_CLASS);
|
||||
if (!dpd) return ;
|
||||
|
||||
ext = _efl_object_extension_need(dpd);
|
||||
ext = dpd->ext;
|
||||
if (!ext) return ;
|
||||
|
||||
EINA_LIST_FOREACH(eina_hash_find(ext->forwarders, desc), l, forwarder)
|
||||
|
|
Loading…
Reference in New Issue