projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb4ecd
)
Revert "evas: refcounting initialisation and protect things."
author
Cedric BAIL
<cedric@osg.samsung.com>
Fri, 20 Feb 2015 16:39:27 +0000
(17:39 +0100)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Fri, 20 Feb 2015 16:39:27 +0000
(17:39 +0100)
This reverts commit
216397bea635d93266aca73f9e724979375f2e3b
.
We do have some engine that are doing partial shutdown outside of the protected
function, leading to a crash.
src/lib/evas/common/evas_draw_main.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/common/evas_draw_main.c
b/src/lib/evas/common/evas_draw_main.c
index
ed1f951
..
5eae8fb
100644
(file)
--- a/
src/lib/evas/common/evas_draw_main.c
+++ b/
src/lib/evas/common/evas_draw_main.c
@@
-32,13
+32,9
@@
evas_common_draw_context_cutouts_del(Cutout_Rects* rects, int idx)
}
}
-static int _init_count = 0;
-
EAPI void
evas_common_init(void)
{
- if (_init_count++) return ;
-
evas_common_cpu_init();
evas_common_blend_init();
@@
-57,8
+53,6
@@
evas_common_init(void)
EAPI void
evas_common_shutdown(void)
{
- if (--_init_count) return ;
-
evas_font_dir_cache_free();
evas_common_image_cache_free();
evas_common_scale_sample_shutdown();