discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=2fcfb364800fa3f375eb4ad36175f291f51f7979

commit 2fcfb364800fa3f375eb4ad36175f291f51f7979
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Sep 28 16:29:12 2015 +0900

    efm - handle cancel of async eio if icon is freed and eio still active
    
    @fix
---
 src/bin/e_fm.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 593744b..3f6be9f 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -4774,6 +4774,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)
      {

-- 


Reply via email to