diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2017-03-09 16:11:19 -0800 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-03-09 16:17:58 -0800 |
commit | 41769b122ccf03e91bb731ab0d810f2f86659a63 (patch) | |
tree | aff7346dc0e1edc0d911864545634c22105b68ab | |
parent | 0cd43b45d9fed2915dd8f91f57c003bd569b8160 (diff) |
ecore_imf: avoid crash during shutdown due to Ecore_Event queue.
-rw-r--r-- | src/lib/ecore_imf/ecore_imf.c | 7 |
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 0f5b75fd4b..5b5da17c98 100644 --- a/src/lib/ecore_imf/ecore_imf.c +++ b/src/lib/ecore_imf/ecore_imf.c | |||
@@ -47,6 +47,13 @@ EAPI int | |||
47 | ecore_imf_shutdown(void) | 47 | ecore_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; |