summaryrefslogtreecommitdiff
path: root/src/lib/ecore_input
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:11:34 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commitc3d185149cd4bb61ca428420b890506f17da3e0e (patch)
treea30c78a83e9fcc642b41b9f542679c324468cc7c /src/lib/ecore_input
parent41769b122ccf03e91bb731ab0d810f2f86659a63 (diff)
ecore_input: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_input')
-rw-r--r--src/lib/ecore_input/ecore_input.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/ecore_input/ecore_input.c b/src/lib/ecore_input/ecore_input.c
index 32441ddb9f..2954bcd2fc 100644
--- a/src/lib/ecore_input/ecore_input.c
+++ b/src/lib/ecore_input/ecore_input.c
@@ -70,17 +70,17 @@ ecore_event_shutdown(void)
70 if (--_ecore_event_init_count != 0) 70 if (--_ecore_event_init_count != 0)
71 return _ecore_event_init_count; 71 return _ecore_event_init_count;
72 72
73 ECORE_EVENT_KEY_DOWN = 0; 73 ecore_event_type_flush(ECORE_EVENT_KEY_DOWN,
74 ECORE_EVENT_KEY_UP = 0; 74 ECORE_EVENT_KEY_UP,
75 ECORE_EVENT_MOUSE_BUTTON_DOWN = 0; 75 ECORE_EVENT_MOUSE_BUTTON_DOWN,
76 ECORE_EVENT_MOUSE_BUTTON_UP = 0; 76 ECORE_EVENT_MOUSE_BUTTON_UP,
77 ECORE_EVENT_MOUSE_MOVE = 0; 77 ECORE_EVENT_MOUSE_MOVE,
78 ECORE_EVENT_MOUSE_WHEEL = 0; 78 ECORE_EVENT_MOUSE_WHEEL,
79 ECORE_EVENT_MOUSE_IN = 0; 79 ECORE_EVENT_MOUSE_IN,
80 ECORE_EVENT_MOUSE_OUT = 0; 80 ECORE_EVENT_MOUSE_OUT,
81 ECORE_EVENT_AXIS_UPDATE = 0; 81 ECORE_EVENT_AXIS_UPDATE,
82 ECORE_EVENT_MOUSE_BUTTON_CANCEL = 0; 82 ECORE_EVENT_MOUSE_BUTTON_CANCEL,
83 ECORE_EVENT_JOYSTICK = 0; 83 ECORE_EVENT_JOYSTICK);
84 ecore_input_joystick_shutdown(); 84 ecore_input_joystick_shutdown();
85 eina_log_domain_unregister(_ecore_input_log_dom); 85 eina_log_domain_unregister(_ecore_input_log_dom);
86 _ecore_input_log_dom = -1; 86 _ecore_input_log_dom = -1;