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
This commit is contained in:
Cedric BAIL 2019-03-15 15:54:26 -07:00
parent 4d1620f3f0
commit ed3165f928
1 changed files with 2 additions and 2 deletions

View 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;