summaryrefslogtreecommitdiff
path: root/src/lib/ecore_sdl
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:13:43 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commite5f5bc243d930695cf8df2bf14be9ff8baa0ebac (patch)
tree1a999b3e83ddac9f97e97f7412e210d75b97c39f /src/lib/ecore_sdl
parentb7d8f7bdd3ce16dfc08d54b9edfee66fc34c87c0 (diff)
ecore_sdl: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_sdl')
-rw-r--r--src/lib/ecore_sdl/ecore_sdl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ecore_sdl/ecore_sdl.c b/src/lib/ecore_sdl/ecore_sdl.c
index 2fee26ce50..e7302de419 100644
--- a/src/lib/ecore_sdl/ecore_sdl.c
+++ b/src/lib/ecore_sdl/ecore_sdl.c
@@ -100,6 +100,11 @@ ecore_sdl_shutdown(void)
100 100
101 SDL_Quit(); 101 SDL_Quit();
102 102
103 ecore_event_type_flush(ECORE_SDL_EVENT_GOT_FOCUS,
104 ECORE_SDL_EVENT_LOST_FOCUS,
105 ECORE_SDL_EVENT_RESIZE,
106 ECORE_SDL_EVENT_EXPOSE);
107
103 ecore_event_shutdown(); 108 ecore_event_shutdown();
104 eina_log_domain_unregister(_ecore_sdl_log_dom); 109 eina_log_domain_unregister(_ecore_sdl_log_dom);
105 _ecore_sdl_log_dom = -1; 110 _ecore_sdl_log_dom = -1;