forked from enlightenment/efl
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:
parent
4d1620f3f0
commit
ed3165f928
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue