forked from enlightenment/efl
ecore_cocoa: avoid crash during shutdown due to Ecore_Event queue.
This commit is contained in:
parent
deb6f0d2cd
commit
af7a5ef5d9
|
@ -84,6 +84,11 @@ ecore_cocoa_shutdown(void)
|
|||
|
||||
DBG("Ecore Cocoa shutdown");
|
||||
|
||||
ecore_event_type_flush(ECORE_COCOA_EVENT_WINDOW_UNFOCUSED,
|
||||
ECORE_COCOA_EVENT_WINDOW_FOCUSED,
|
||||
ECORE_COCOA_EVENT_WINDOW_RESIZE_REQUEST,
|
||||
ECORE_COCOA_EVENT_WINDOW_DESTROY);
|
||||
|
||||
eina_log_domain_unregister(_ecore_cocoa_log_domain);
|
||||
ecore_event_shutdown();
|
||||
|
||||
|
|
Loading…
Reference in New Issue