eio: Efl.Io.Model should not make request when the object is invalidating itself.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 15 Mar 2019 22:54:26 +0000 (15:54 -0700)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 2 Apr 2019 04:14:38 +0000 (13:14 +0900)
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8373

src/lib/eio/efl_io_model.c

index 44c215e..f023ea7 100644 (file)
@@ -761,7 +761,8 @@ static unsigned int
 _efl_io_model_efl_model_children_count_get(const Eo *obj, Efl_Io_Model_Data *pd)
 {
    // If we have no information on the object, let's build it.
-   if (efl_invalidated_get(obj))
+   if (efl_invalidated_get(obj) ||
+       efl_invalidating_get(obj))
      {
         return 0;
      }
@@ -1006,7 +1007,6 @@ _efl_io_model_efl_object_destructor(Eo *obj , Efl_Io_Model_Data *priv)
 {
    Efl_Io_Model_Info *info;
 
-
    free(priv->st);
    priv->st = NULL;