aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:13:56 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commit88889f536927a4a73da1e0d98e0e7e476cac51bc (patch)
tree4212373244ac0ec6fc68a164e1ecf7f5c7f477e4 /src/lib/ecore_wayland
parentecore_sdl: avoid crash during shutdown due to Ecore_Event queue. (diff)
downloadefl-88889f536927a4a73da1e0d98e0e7e476cac51bc.tar.gz
ecore_wayland: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 7cd352edeb..ae1bb4a8fa 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -491,6 +491,23 @@ _ecore_wl_shutdown(Eina_Bool close)
if (--_ecore_wl_init_count != 0) return _ecore_wl_init_count;
if (!_ecore_wl_disp) return _ecore_wl_init_count;
+ ecore_event_type_flush(ECORE_WL_EVENT_MOUSE_IN,
+ ECORE_WL_EVENT_MOUSE_OUT,
+ ECORE_WL_EVENT_FOCUS_IN,
+ ECORE_WL_EVENT_FOCUS_OUT,
+ ECORE_WL_EVENT_WINDOW_CONFIGURE,
+ ECORE_WL_EVENT_DND_ENTER,
+ ECORE_WL_EVENT_DND_POSITION,
+ ECORE_WL_EVENT_DND_LEAVE,
+ ECORE_WL_EVENT_DND_DROP,
+ ECORE_WL_EVENT_DND_OFFER,
+ ECORE_WL_EVENT_DND_END,
+ ECORE_WL_EVENT_DATA_SOURCE_TARGET,
+ ECORE_WL_EVENT_DATA_SOURCE_SEND,
+ ECORE_WL_EVENT_SELECTION_DATA_READY,
+ ECORE_WL_EVENT_DATA_SOURCE_CANCELLED,
+ ECORE_WL_EVENT_INTERFACES_BOUND);
+
_ecore_wl_events_shutdown();
_ecore_wl_window_shutdown();