summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:14:35 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commit81adcf8107106e36e714ce79d724c3506bfd0b95 (patch)
tree52b22452aef6ba3708724367739fecd9cf33d00e /src/lib/ecore_wl2/ecore_wl2.c
parentcb3e58041b5d4a51a3455dcc3898a40c786e57df (diff)
ecore_wl2: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 362ef38a3a..7c1b1f0b49 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -131,30 +131,30 @@ ecore_wl2_shutdown(void)
131 if (--_ecore_wl2_init_count != 0) return _ecore_wl2_init_count; 131 if (--_ecore_wl2_init_count != 0) return _ecore_wl2_init_count;
132 132
133 /* reset events */ 133 /* reset events */
134 ECORE_WL2_EVENT_CONNECT = 0; 134 ecore_event_type_flush(ECORE_WL2_EVENT_CONNECT,
135 ECORE_WL2_EVENT_DISCONNECT = 0; 135 ECORE_WL2_EVENT_DISCONNECT,
136 ECORE_WL2_EVENT_GLOBAL_ADDED = 0; 136 ECORE_WL2_EVENT_GLOBAL_ADDED,
137 ECORE_WL2_EVENT_GLOBAL_REMOVED = 0; 137 ECORE_WL2_EVENT_GLOBAL_REMOVED,
138 ECORE_WL2_EVENT_FOCUS_IN = 0; 138 ECORE_WL2_EVENT_FOCUS_IN,
139 ECORE_WL2_EVENT_FOCUS_OUT = 0; 139 ECORE_WL2_EVENT_FOCUS_OUT,
140 ECORE_WL2_EVENT_DND_ENTER = 0; 140 ECORE_WL2_EVENT_DND_ENTER,
141 ECORE_WL2_EVENT_DND_LEAVE = 0; 141 ECORE_WL2_EVENT_DND_LEAVE,
142 ECORE_WL2_EVENT_DND_MOTION = 0; 142 ECORE_WL2_EVENT_DND_MOTION,
143 ECORE_WL2_EVENT_DND_DROP = 0; 143 ECORE_WL2_EVENT_DND_DROP,
144 ECORE_WL2_EVENT_DND_END = 0; 144 ECORE_WL2_EVENT_DND_END,
145 ECORE_WL2_EVENT_DATA_SOURCE_END = 0; 145 ECORE_WL2_EVENT_DATA_SOURCE_END,
146 ECORE_WL2_EVENT_DATA_SOURCE_DROP = 0; 146 ECORE_WL2_EVENT_DATA_SOURCE_DROP,
147 ECORE_WL2_EVENT_DATA_SOURCE_ACTION = 0; 147 ECORE_WL2_EVENT_DATA_SOURCE_ACTION,
148 ECORE_WL2_EVENT_DATA_SOURCE_TARGET = 0; 148 ECORE_WL2_EVENT_DATA_SOURCE_TARGET,
149 ECORE_WL2_EVENT_DATA_SOURCE_SEND = 0; 149 ECORE_WL2_EVENT_DATA_SOURCE_SEND,
150 ECORE_WL2_EVENT_WINDOW_CONFIGURE = 0; 150 ECORE_WL2_EVENT_WINDOW_CONFIGURE,
151 ECORE_WL2_EVENT_SYNC_DONE = 0; 151 ECORE_WL2_EVENT_SYNC_DONE,
152 ECORE_WL2_EVENT_OFFER_DATA_READY = 0; 152 ECORE_WL2_EVENT_OFFER_DATA_READY,
153 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = 0; 153 ECORE_WL2_EVENT_SEAT_NAME_CHANGED,
154 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = 0; 154 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED,
155 ECORE_WL2_EVENT_DEVICE_ADDED = 0; 155 ECORE_WL2_EVENT_DEVICE_ADDED,
156 ECORE_WL2_EVENT_DEVICE_REMOVED = 0; 156 ECORE_WL2_EVENT_DEVICE_REMOVED,
157 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE = 0; 157 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE);
158 158
159 /* shutdown Ecore_Event */ 159 /* shutdown Ecore_Event */
160 ecore_event_shutdown(); 160 ecore_event_shutdown();