forked from enlightenment/efl
ecore-drm: Call inputs shutdown before eina_shutdown
As we end up freeing the input hash inside the _ecore_drm_inputs_shutdown function, it should be called before we shutdown eina @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
987fde58a7
commit
d50784a086
|
@ -127,6 +127,8 @@ ecore_drm_shutdown(void)
|
|||
/* if we are still in use, decrement init count and get out */
|
||||
if (--_ecore_drm_init_count != 0) return _ecore_drm_init_count;
|
||||
|
||||
_ecore_drm_inputs_shutdown();
|
||||
|
||||
/* close eeze */
|
||||
eeze_shutdown();
|
||||
|
||||
|
@ -143,8 +145,6 @@ ecore_drm_shutdown(void)
|
|||
/* shutdown eina */
|
||||
eina_shutdown();
|
||||
|
||||
_ecore_drm_inputs_shutdown();
|
||||
|
||||
/* return init count */
|
||||
return _ecore_drm_init_count;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue