lib/main: minus initialization count when it's shutdown.

@fix
This commit is contained in:
ChunEon Park 2015-05-03 02:59:26 +09:00
parent 59e6772811
commit c7bd3dfcc2
1 changed files with 2 additions and 0 deletions

View File

@ -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;