This is a small change, so I won't changelog it (or backport), but

make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
This commit is contained in:
Carsten Haitzler 2012-05-30 10:08:41 +00:00
parent 858244d77c
commit db43622992
1 changed files with 5 additions and 0 deletions

View File

@ -185,6 +185,11 @@ elm_init(int argc,
EAPI int
elm_shutdown(void)
{
if (_elm_init_count <= 0)
{
ERR("Init count not greater than 0 in shutdown.");
return 0;
}
_elm_init_count--;
if (_elm_init_count > 0) return _elm_init_count;
_elm_win_shutdown();