projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7a5ef
)
ecore_drm: avoid crash during shutdown due to Ecore_Event queue.
author
Cedric BAIL
<cedric@osg.samsung.com>
Fri, 10 Mar 2017 00:10:49 +0000
(16:10 -0800)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Fri, 10 Mar 2017 00:17:58 +0000
(16:17 -0800)
src/lib/ecore_drm/ecore_drm.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm.c
b/src/lib/ecore_drm/ecore_drm.c
index
431ff6b
..
fb8c593
100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm.c
+++ b/
src/lib/ecore_drm/ecore_drm.c
@@
-150,6
+150,10
@@
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_event_type_flush(ECORE_DRM_EVENT_ACTIVATE,
+ ECORE_DRM_EVENT_OUTPUT,
+ ECORE_DRM_EVENT_SEAT_ADD);
+
/* free the list of devices */
lists = eina_list_clone(ecore_drm_devices_get());
EINA_LIST_FREE(lists, dev)