ecore_cocoa: avoid crash during shutdown due to Ecore_Event queue.

This commit is contained in:
Cedric BAIL 2017-03-09 16:10:22 -08:00
parent deb6f0d2cd
commit af7a5ef5d9
1 changed files with 5 additions and 0 deletions

View File

@ -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();