summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_base_class.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-03-12 11:17:02 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-03-12 12:00:27 -0700
commitbae1b25b8d4d2da8050c1ef0a87b58656c911a1b (patch)
treed4cf551dbc851a1af00af9529d252fcb235d83f6 /src/lib/eo/eo_base_class.c
parent626539e6e5bac4087bc98c0662b447bb37361601 (diff)
eo: cleanup future on invalidate.
Diffstat (limited to 'src/lib/eo/eo_base_class.c')
-rw-r--r--src/lib/eo/eo_base_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 14aca16..7468172 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -2078,7 +2078,6 @@ composite_obj_back:
2078 if (pd->parent) goto err_parent; 2078 if (pd->parent) goto err_parent;
2079err_parent_back: 2079err_parent_back:
2080 2080
2081 _efl_pending_futures_clear(pd);
2082 _wref_destruct(pd); 2081 _wref_destruct(pd);
2083 2082
2084 // this isn't 100% correct, as the object is still "slightly" alive at this 2083 // this isn't 100% correct, as the object is still "slightly" alive at this
@@ -2166,6 +2165,7 @@ _efl_object_finalize(Eo *obj, Efl_Object_Data *pd EINA_UNUSED)
2166static void 2165static void
2167_efl_object_invalidate(Eo *obj EINA_UNUSED, Efl_Object_Data *pd) 2166_efl_object_invalidate(Eo *obj EINA_UNUSED, Efl_Object_Data *pd)
2168{ 2167{
2168 _efl_pending_futures_clear(pd);
2169 pd->invalidate = EINA_TRUE; 2169 pd->invalidate = EINA_TRUE;
2170} 2170}
2171 2171