raster pushed a commit to branch master.

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

commit f468361817fdb5ad06de4dc294b20510001f38aa
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
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 45f409b..8cf276b 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -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)
      {

-- 


Reply via email to