diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2016-06-17 16:38:13 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2016-06-17 16:40:20 -0500 |
commit | 4bd97bfd5c1122c340984e07709d4ca70c8e7ea5 (patch) | |
tree | f5b119514299f710372d9c6d652d46cca2702285 | |
parent | 6fd2d4487fcd32fcc43dcd9f77f73b4e3c66c900 (diff) | |
download | enlightenment-4bd97bfd5c1122c340984e07709d4ca70c8e7ea5.tar.gz |
Fix eo object use after deletion in evry
On window hide the focus out callback is triggering and causing a new
timer to be set up. This timer fires when the window no longer exists.
Remove the focus_out callback when we hide the window.
-rw-r--r-- | src/modules/everything/evry.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/everything/evry.c b/src/modules/everything/evry.c index b6f8989d20..063a8513b5 100644 --- a/src/modules/everything/evry.c +++ b/src/modules/everything/evry.c @@ -320,6 +320,9 @@ evry_hide(Evry_Window *win, int clear) if (!win) return; evas_object_event_callback_del(win->ewin, EVAS_CALLBACK_DEL, _evry_cb_win_delete); + evas_object_event_callback_del(e_win_client_get(win->ewin)->frame, + EVAS_CALLBACK_FOCUS_OUT, + _evry_focus_out); evas_object_hide(win->ewin); _evry_state_clear(win); |