summaryrefslogtreecommitdiff
path: root/src/lib/ecore_ipc
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:11:50 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commit988344f3e5c4d6ed2a56e8767ce435a54efd0948 (patch)
tree54fd36e1c36449ee2545d4da1f74904b9c160077 /src/lib/ecore_ipc
parentc3d185149cd4bb61ca428420b890506f17da3e0e (diff)
ecore_ipc: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_ipc')
-rw-r--r--src/lib/ecore_ipc/ecore_ipc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index ec83de76f5..8f72ff99eb 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -378,6 +378,13 @@ ecore_ipc_shutdown(void)
378 EINA_LIST_FOREACH_SAFE(servers, l, l2, svr) 378 EINA_LIST_FOREACH_SAFE(servers, l, l2, svr)
379 ecore_ipc_server_del(svr); 379 ecore_ipc_server_del(svr);
380 380
381 ecore_event_type_flush(ECORE_IPC_EVENT_CLIENT_ADD,
382 ECORE_IPC_EVENT_CLIENT_DEL,
383 ECORE_IPC_EVENT_SERVER_ADD,
384 ECORE_IPC_EVENT_SERVER_DEL,
385 ECORE_IPC_EVENT_CLIENT_DATA,
386 ECORE_IPC_EVENT_SERVER_DATA);
387
381#ifndef EFL_NET_SERVER_UNIX_CLASS 388#ifndef EFL_NET_SERVER_UNIX_CLASS
382 for (i = 0; i < 6; i++) 389 for (i = 0; i < 6; i++)
383 ecore_event_handler_del(handler[i]); 390 ecore_event_handler_del(handler[i]);