summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-02-09 11:11:24 -0600
committerDerek Foreman <derekf@osg.samsung.com>2018-02-09 11:12:07 -0600
commit38d8ae02176fb5d82ed5425cfe0a070904dab18e (patch)
treecc064d8df6a7f2d4bd525da896efe55716fd351d
parenta35d4a2ceed5574a2499a7a1c166015a73a6e654 (diff)
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.
-rw-r--r--src/modules/ecore_imf/wayland/wayland_imcontext.c2
1 files changed, 2 insertions, 0 deletions
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)
762 762
763 EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_del"); 763 EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_del");
764 764
765 _clear_hide_timer();
766
765 if (imcontext->language) 767 if (imcontext->language)
766 { 768 {
767 free(imcontext->language); 769 free(imcontext->language);