forked from enlightenment/efl
ecore-evas-drm: Perform shutdown in proper order
Summary: This fixes an incorrect order with shutdown of drm library. Sprites are created (during init) before inputs, so they should be shutdown After inputs are. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
db53875e0a
commit
5eb11e1285
|
@ -532,9 +532,9 @@ _ecore_evas_drm_shutdown(void)
|
|||
{
|
||||
if (--_ecore_evas_init_count != 0) return _ecore_evas_init_count;
|
||||
|
||||
ecore_drm_sprites_destroy(dev);
|
||||
/* NB: No need to free outputs here. Is done in device free */
|
||||
ecore_drm_inputs_destroy(dev);
|
||||
ecore_drm_sprites_destroy(dev);
|
||||
ecore_drm_device_close(dev);
|
||||
ecore_drm_device_free(dev);
|
||||
ecore_drm_launcher_disconnect(dev);
|
||||
|
|
Loading…
Reference in New Issue