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:
Chris Michael 2015-01-06 11:10:44 -05:00
parent db53875e0a
commit 5eb11e1285
1 changed files with 1 additions and 1 deletions

View File

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