diff options
author | Chris Michael <cpmichael@osg.samsung.com> | 2016-01-21 09:22:37 -0500 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-01-21 09:22:37 -0500 |
commit | 17fa5dee65059f6019ace06433765e639d2cd812 (patch) | |
tree | 7db138b7480e3e73a65c24eb6084c10ebdaa5617 /src/lib/ecore_drm/ecore_drm_launcher.c | |
parent | 258639a92e678512c2dd7dc17d24cc6242e2cb58 (diff) |
ecore-drm: Cleanup ecore-drm shutdown routine
This patch addresses an issue where when closing Enlightenment, the
shutdown procedure would previously end up calling the same functions
twice. These functions should be called from the ecore_evas drm
shutdown routine as the sprites, inputs, outputs, etc are all called
from the ecore_evas drm init routine.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_launcher.c')
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_launcher.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_launcher.c b/src/lib/ecore_drm/ecore_drm_launcher.c index c9e1ce2489..72dd140ab2 100644 --- a/src/lib/ecore_drm/ecore_drm_launcher.c +++ b/src/lib/ecore_drm/ecore_drm_launcher.c | |||
@@ -88,6 +88,7 @@ EAPI void | |||
88 | ecore_drm_launcher_disconnect(Ecore_Drm_Device *dev) | 88 | ecore_drm_launcher_disconnect(Ecore_Drm_Device *dev) |
89 | { | 89 | { |
90 | EINA_SAFETY_ON_NULL_RETURN(dev); | 90 | EINA_SAFETY_ON_NULL_RETURN(dev); |
91 | |||
91 | if (dev->tty.switch_hdlr) ecore_event_handler_del(dev->tty.switch_hdlr); | 92 | if (dev->tty.switch_hdlr) ecore_event_handler_del(dev->tty.switch_hdlr); |
92 | dev->tty.switch_hdlr = NULL; | 93 | dev->tty.switch_hdlr = NULL; |
93 | 94 | ||