summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-06 11:10:44 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-06 11:10:44 -0500
commit5eb11e1285a47e95ad3fa889dc94a30aef35aa90 (patch)
tree90860cd7883f04c9a978a1d1147a26672e4cf175 /src/modules
parentdb53875e0af391b661937725c64dbe51164b8905 (diff)
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>
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index b444d94051..3b7ccaca1f 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -532,9 +532,9 @@ _ecore_evas_drm_shutdown(void)
532{ 532{
533 if (--_ecore_evas_init_count != 0) return _ecore_evas_init_count; 533 if (--_ecore_evas_init_count != 0) return _ecore_evas_init_count;
534 534
535 ecore_drm_sprites_destroy(dev);
536 /* NB: No need to free outputs here. Is done in device free */ 535 /* NB: No need to free outputs here. Is done in device free */
537 ecore_drm_inputs_destroy(dev); 536 ecore_drm_inputs_destroy(dev);
537 ecore_drm_sprites_destroy(dev);
538 ecore_drm_device_close(dev); 538 ecore_drm_device_close(dev);
539 ecore_drm_device_free(dev); 539 ecore_drm_device_free(dev);
540 ecore_drm_launcher_disconnect(dev); 540 ecore_drm_launcher_disconnect(dev);