summaryrefslogtreecommitdiff
path: root/src/lib/eio
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-03-15 15:54:26 -0700
committerCedric BAIL <cedric.bail@free.fr>2019-03-27 15:03:29 -0700
commited3165f928f6b618ca567688e7d9fa8a0828bdf7 (patch)
treea1ef625e37a441ba3a5be586cce512c8e723823b /src/lib/eio
parent4d1620f3f0ac8590f4e3c297e0e31b98313eb8ec (diff)
eio: Efl.Io.Model should not make request when the object is invalidating itself.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8373
Diffstat (limited to 'src/lib/eio')
-rw-r--r--src/lib/eio/efl_io_model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eio/efl_io_model.c b/src/lib/eio/efl_io_model.c
index 44c215e260..f023ea7597 100644
--- a/src/lib/eio/efl_io_model.c
+++ b/src/lib/eio/efl_io_model.c
@@ -761,7 +761,8 @@ static unsigned int
761_efl_io_model_efl_model_children_count_get(const Eo *obj, Efl_Io_Model_Data *pd) 761_efl_io_model_efl_model_children_count_get(const Eo *obj, Efl_Io_Model_Data *pd)
762{ 762{
763 // If we have no information on the object, let's build it. 763 // If we have no information on the object, let's build it.
764 if (efl_invalidated_get(obj)) 764 if (efl_invalidated_get(obj) ||
765 efl_invalidating_get(obj))
765 { 766 {
766 return 0; 767 return 0;
767 } 768 }
@@ -1006,7 +1007,6 @@ _efl_io_model_efl_object_destructor(Eo *obj , Efl_Io_Model_Data *priv)
1006{ 1007{
1007 Efl_Io_Model_Info *info; 1008 Efl_Io_Model_Info *info;
1008 1009
1009
1010 free(priv->st); 1010 free(priv->st);
1011 priv->st = NULL; 1011 priv->st = NULL;
1012 1012