derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=38d8ae02176fb5d82ed5425cfe0a070904dab18e

commit 38d8ae02176fb5d82ed5425cfe0a070904dab18e
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Feb 9 11:11:24 2018 -0600

    wayland_imf: Clear hide timer when deleting context
    
    Otherwise the callback can fire after the module is unloaded leading to some
    very entertaining to debug crashes at shutdown.
---
 src/modules/ecore_imf/wayland/wayland_imcontext.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/ecore_imf/wayland/wayland_imcontext.c 
b/src/modules/ecore_imf/wayland/wayland_imcontext.c
index 24742080bf..4a90e2bc64 100644
--- a/src/modules/ecore_imf/wayland/wayland_imcontext.c
+++ b/src/modules/ecore_imf/wayland/wayland_imcontext.c
@@ -762,6 +762,8 @@ wayland_im_context_del(Ecore_IMF_Context *ctx)
 
    EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_del");
 
+   _clear_hide_timer();
+
    if (imcontext->language)
      {
         free(imcontext->language);

-- 


Reply via email to