summaryrefslogtreecommitdiff
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
parente5f5bc243d930695cf8df2bf14be9ff8baa0ebac (diff)
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)
491 if (--_ecore_wl_init_count != 0) return _ecore_wl_init_count; 491 if (--_ecore_wl_init_count != 0) return _ecore_wl_init_count;
492 if (!_ecore_wl_disp) return _ecore_wl_init_count; 492 if (!_ecore_wl_disp) return _ecore_wl_init_count;
493 493
494 ecore_event_type_flush(ECORE_WL_EVENT_MOUSE_IN,
495 ECORE_WL_EVENT_MOUSE_OUT,
496 ECORE_WL_EVENT_FOCUS_IN,
497 ECORE_WL_EVENT_FOCUS_OUT,
498 ECORE_WL_EVENT_WINDOW_CONFIGURE,
499 ECORE_WL_EVENT_DND_ENTER,
500 ECORE_WL_EVENT_DND_POSITION,
501 ECORE_WL_EVENT_DND_LEAVE,
502 ECORE_WL_EVENT_DND_DROP,
503 ECORE_WL_EVENT_DND_OFFER,
504 ECORE_WL_EVENT_DND_END,
505 ECORE_WL_EVENT_DATA_SOURCE_TARGET,
506 ECORE_WL_EVENT_DATA_SOURCE_SEND,
507 ECORE_WL_EVENT_SELECTION_DATA_READY,
508 ECORE_WL_EVENT_DATA_SOURCE_CANCELLED,
509 ECORE_WL_EVENT_INTERFACES_BOUND);
510
494 _ecore_wl_events_shutdown(); 511 _ecore_wl_events_shutdown();
495 _ecore_wl_window_shutdown(); 512 _ecore_wl_window_shutdown();
496 513