summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_systray.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:16:56 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commit93b63b48e862c1ee5c217abeede05a5533c96ed7 (patch)
tree622e05637c4d8f585a0f5581ea8994e4031b61a0 /src/lib/elementary/elm_systray.c
parentaef1ee96e854cc0e4991559c9346288c5cd82c38 (diff)
elementary: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/elementary/elm_systray.c')
-rw-r--r--src/lib/elementary/elm_systray.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_systray.c b/src/lib/elementary/elm_systray.c
index 45ca4696da..d8158241c1 100644
--- a/src/lib/elementary/elm_systray.c
+++ b/src/lib/elementary/elm_systray.c
@@ -491,6 +491,8 @@ _elm_unneed_systray(void)
491{ 491{
492 if (!_elm_need_systray) return; 492 if (!_elm_need_systray) return;
493 493
494 ecore_event_type_flush(ELM_EVENT_SYSTRAY_READY);
495
494 _elm_need_systray = EINA_FALSE; 496 _elm_need_systray = EINA_FALSE;
495 497
496 eldbus_service_interface_unregister(_iface); 498 eldbus_service_interface_unregister(_iface);