summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:11:19 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commit41769b122ccf03e91bb731ab0d810f2f86659a63 (patch)
treeaff7346dc0e1edc0d911864545634c22105b68ab /src/lib/ecore_imf
parent0cd43b45d9fed2915dd8f91f57c003bd569b8160 (diff)
ecore_imf: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/ecore_imf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/ecore_imf.c b/src/lib/ecore_imf/ecore_imf.c
index 0f5b75f..5b5da17 100644
--- a/src/lib/ecore_imf/ecore_imf.c
+++ b/src/lib/ecore_imf/ecore_imf.c
@@ -47,6 +47,13 @@ EAPI int
47ecore_imf_shutdown(void) 47ecore_imf_shutdown(void)
48{ 48{
49 if (--_ecore_imf_init_count != 0) return _ecore_imf_init_count; 49 if (--_ecore_imf_init_count != 0) return _ecore_imf_init_count;
50
51 ecore_event_type_flush(ECORE_IMF_EVENT_PREEDIT_START,
52 ECORE_IMF_EVENT_PREEDIT_END,
53 ECORE_IMF_EVENT_PREEDIT_CHANGED,
54 ECORE_IMF_EVENT_COMMIT,
55 ECORE_IMF_EVENT_DELETE_SURROUNDING);
56
50 ecore_imf_module_shutdown(); 57 ecore_imf_module_shutdown();
51 eina_log_domain_unregister(_ecore_imf_log_dom); 58 eina_log_domain_unregister(_ecore_imf_log_dom);
52 _ecore_imf_log_dom = -1; 59 _ecore_imf_log_dom = -1;