forked from enlightenment/efl
eio: do not fail when the future has been cancelled properly.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8691
This commit is contained in:
parent
60af618098
commit
5d512229cb
|
@ -58,7 +58,8 @@ _children_got(Eo *o, void *data EINA_UNUSED, const Eina_Value v)
|
||||||
static Eina_Value
|
static Eina_Value
|
||||||
_children_failed(Eo *o EINA_UNUSED, void *data EINA_UNUSED, const Eina_Error err)
|
_children_failed(Eo *o EINA_UNUSED, void *data EINA_UNUSED, const Eina_Error err)
|
||||||
{
|
{
|
||||||
ck_abort_msg( "Failed to get the child with '%s'.\n", eina_error_msg_get(err));
|
if (err != ECANCELED)
|
||||||
|
ck_abort_msg( "Failed to get the child with '%s'.\n", eina_error_msg_get(err));
|
||||||
return eina_value_error_init(err);
|
return eina_value_error_init(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue