Patch by Cedric to really shutdown font system.

every thing is not really cleaned on shutdown (It make it crash, if
you shutdown completely the font system and then restart it again).

Author: Cedric BAIL


SVN revision: 33746
This commit is contained in:
Gustavo Sverzut Barbieri 2008-02-15 14:43:51 +00:00
parent d84ab190e6
commit 9b983b96b1
1 changed files with 5 additions and 0 deletions

View File

@ -25,7 +25,12 @@ evas_common_font_shutdown(void)
initialised--;
if (initialised != 0) return;
evas_common_font_cache_set(0);
evas_common_font_flush();
error = FT_Done_FreeType(evas_ft_lib);
evas_ft_lib = 0;
}
EAPI int