|author||Cedric BAIL <firstname.lastname@example.org>||2013-12-23 11:58:17 +0900|
|committer||Cedric BAIL <email@example.com>||2013-12-23 11:58:17 +0900|
ecore: fix shutdown when using system module.
This patch will detect how many more times ecore_init was called during initialization and use that as a threshold to do a clean shutdown. It is a necessary evil as we do have ecore module that will initialize eldbus that will then reinit ecore_init from within ecore_init and without a chance for the application to act on it. I also reenable a test to make sure we will catch earlier this kind of issue.
Diffstat (limited to '')
1 files changed, 1 insertions, 0 deletions
|@@ -42,6 +42,7 @@ START_TEST(ecore_test_ecore_init)|
|42||fail_if(ret < 1);||42||fail_if(ret < 1);|
|44||ret = ecore_shutdown();||44||ret = ecore_shutdown();|
|45||fail_if(ret != 0);|