projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae30ce5
)
eo: cleanup future on invalidate.
author
Cedric BAIL
<cedric@osg.samsung.com>
Mon, 12 Mar 2018 18:17:02 +0000
(11:17 -0700)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:54 +0000
(20:10 +0900)
src/lib/eo/eo_base_class.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo_base_class.c
b/src/lib/eo/eo_base_class.c
index
14aca16
..
7468172
100644
(file)
--- a/
src/lib/eo/eo_base_class.c
+++ b/
src/lib/eo/eo_base_class.c
@@
-2078,7
+2078,6
@@
composite_obj_back:
if (pd->parent) goto err_parent;
err_parent_back:
- _efl_pending_futures_clear(pd);
_wref_destruct(pd);
// 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)
static void
_efl_object_invalidate(Eo *obj EINA_UNUSED, Efl_Object_Data *pd)
{
+ _efl_pending_futures_clear(pd);
pd->invalidate = EINA_TRUE;
}