e - efm fix. fix eio error handler that is called after eio cancel
so you have to have an error cb - so make it empty as even after a canel, it is called, and thus accesses an invalid icon we've freed.
This commit is contained in:
parent
f468361817
commit
d0de6eb4fa
|
@ -5199,10 +5199,8 @@ _e_fm2_cb_eio_stat(void *data, Eio_File *handler EINA_UNUSED, const Eina_Stat *s
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_e_fm2_cb_eio_err(void *data, Eio_File *handler EINA_UNUSED, int error EINA_UNUSED)
|
_e_fm2_cb_eio_err(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int error EINA_UNUSED)
|
||||||
{
|
{
|
||||||
E_Fm2_Icon *ic = data;
|
|
||||||
ic->eio = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in New Issue