hermet pushed a commit to branch enventor-0.5.

http://git.enlightenment.org/tools/enventor.git/commit/?id=c7bd3dfcc2d01a991e311bb313b9b15aaedb9ee7

commit c7bd3dfcc2d01a991e311bb313b9b15aaedb9ee7
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Sun May 3 02:59:26 2015 +0900

    lib/main: minus initialization count when it's shutdown.
    
    @fix
---
 src/lib/enventor_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/enventor_main.c b/src/lib/enventor_main.c
index 646cb49..ab690a1 100644
--- a/src/lib/enventor_main.c
+++ b/src/lib/enventor_main.c
@@ -113,6 +113,8 @@ enventor_shutdown(void)
         return 0;
      }
 
+   if ((--_enventor_init_count) > 0) return _enventor_init_count;
+
    ecore_event_handler_del(_key_down_handler);
    _key_down_handler = NULL;
 

-- 


Reply via email to