efm - handle cancel of async eio if icon is freed and eio still active

@fix
This commit is contained in:
Carsten Haitzler 2015-09-28 16:29:12 +09:00
parent bb557cbf9f
commit f468361817
1 changed files with 5 additions and 0 deletions

View File

@ -4797,6 +4797,11 @@ _e_fm2_icon_free(E_Fm2_Icon *ic)
{
if (ic->queued) abort();
if (ic->inserted) abort();
if (ic->eio)
{
eio_file_cancel(ic->eio);
ic->eio = NULL;
}
/* free icon, object data etc. etc. */
if (ic->sd->last_placed == ic)
{