summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/edje_externals/elm.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/edje_externals/elm.c b/src/edje_externals/elm.c
index 7ec06b6fe..423322810 100644
--- a/src/edje_externals/elm.c
+++ b/src/edje_externals/elm.c
@@ -18,22 +18,13 @@ external_elm_init(void)
18 elm_init(argc, argv); 18 elm_init(argc, argv);
19} 19}
20 20
21static Eina_Bool
22_shutdown_idler(void *data __UNUSED__)
23{
24 elm_shutdown();
25
26 return ECORE_CALLBACK_CANCEL;
27}
28
29static void 21static void
30external_elm_shutdown(void) 22external_elm_shutdown(void)
31{ 23{
32 init_count--; 24 init_count--;
33 DBG("elm_real_shutdown\n"); 25 DBG("elm_real_shutdown\n");
34 if (init_count > 0) return; 26 if (init_count > 0) return;
35 27 elm_shutdown();
36 ecore_idler_add(_shutdown_idler, NULL);
37} 28}
38 29
39static void 30static void