summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:10:22 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-03-09 16:17:58 -0800
commitaf7a5ef5d920043a39cb3add08580387687b2b59 (patch)
tree919cdc95a74f06ddd8b34e22870d584169299357 /src/lib/ecore_cocoa
parentdeb6f0d2cd33b14932a9b7dd05e4b6ddea5a3318 (diff)
ecore_cocoa: avoid crash during shutdown due to Ecore_Event queue.
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m
index 8fa9e09c36..83a7e26876 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa.m
@@ -84,6 +84,11 @@ ecore_cocoa_shutdown(void)
84 84
85 DBG("Ecore Cocoa shutdown"); 85 DBG("Ecore Cocoa shutdown");
86 86
87 ecore_event_type_flush(ECORE_COCOA_EVENT_WINDOW_UNFOCUSED,
88 ECORE_COCOA_EVENT_WINDOW_FOCUSED,
89 ECORE_COCOA_EVENT_WINDOW_RESIZE_REQUEST,
90 ECORE_COCOA_EVENT_WINDOW_DESTROY);
91
87 eina_log_domain_unregister(_ecore_cocoa_log_domain); 92 eina_log_domain_unregister(_ecore_cocoa_log_domain);
88 ecore_event_shutdown(); 93 ecore_event_shutdown();
89 94