From: Guilherme Iscaro Date: Sun, 9 Oct 2016 21:43:28 +0000 (-0300) Subject: Ecore Evas Cocoa: Properly unregister the window events. X-Git-Tag: upstream/1.20.0~4112^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca53a215044988e44440941c4111efa8be8d0a1a;p=platform%2Fupstream%2Fefl.git Ecore Evas Cocoa: Properly unregister the window events. Fix T4624 --- diff --git a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c index 98dca01..1bfb085 100644 --- a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c +++ b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c @@ -339,7 +339,7 @@ _ecore_evas_cocoa_free(Ecore_Evas *ee) { DBG(""); ecore_evases = eina_list_remove(ecore_evases, ee); - ecore_event_window_unregister(0); + ecore_event_window_unregister(ee->prop.window); _ecore_evas_cocoa_shutdown(); ecore_cocoa_shutdown(); }