summaryrefslogtreecommitdiff
path: root/src/modules/ecore_imf
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 /src/modules/ecore_imf
parenta35d4a2ceed5574a2499a7a1c166015a73a6e654 (diff)
downloadefl-38d8ae02176fb5d82ed5425cfe0a070904dab18e.tar.gz
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.
Diffstat (limited to 'src/modules/ecore_imf')
-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)
EINA_LOG_DOM_INFO(_ecore_imf_wayland_log_dom, "context_del");
+ _clear_hide_timer();
+
if (imcontext->language)
{
free(imcontext->language);