forked from enlightenment/efl
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:
parent
858244d77c
commit
db43622992
|
@ -185,6 +185,11 @@ elm_init(int argc,
|
||||||
EAPI int
|
EAPI int
|
||||||
elm_shutdown(void)
|
elm_shutdown(void)
|
||||||
{
|
{
|
||||||
|
if (_elm_init_count <= 0)
|
||||||
|
{
|
||||||
|
ERR("Init count not greater than 0 in shutdown.");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
_elm_init_count--;
|
_elm_init_count--;
|
||||||
if (_elm_init_count > 0) return _elm_init_count;
|
if (_elm_init_count > 0) return _elm_init_count;
|
||||||
_elm_win_shutdown();
|
_elm_win_shutdown();
|
||||||
|
|
Loading…
Reference in New Issue