forked from enlightenment/enlightenment
efm - handle cancel of async eio if icon is freed and eio still active
@fix
This commit is contained in:
parent
bb557cbf9f
commit
f468361817
|
@ -4797,6 +4797,11 @@ _e_fm2_icon_free(E_Fm2_Icon *ic)
|
||||||
{
|
{
|
||||||
if (ic->queued) abort();
|
if (ic->queued) abort();
|
||||||
if (ic->inserted) abort();
|
if (ic->inserted) abort();
|
||||||
|
if (ic->eio)
|
||||||
|
{
|
||||||
|
eio_file_cancel(ic->eio);
|
||||||
|
ic->eio = NULL;
|
||||||
|
}
|
||||||
/* free icon, object data etc. etc. */
|
/* free icon, object data etc. etc. */
|
||||||
if (ic->sd->last_placed == ic)
|
if (ic->sd->last_placed == ic)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue