forked from enlightenment/efl
Revert "evas: refcounting initialisation and protect things."
This reverts commit 216397bea6
.
We do have some engine that are doing partial shutdown outside of the protected
function, leading to a crash.
This commit is contained in:
parent
6bb4ecd65d
commit
789633b321
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue