forked from enlightenment/efl
edje entry: fix crash issue due to improper callback handling
Summary: If there were multiple elm_entry objects and some of them were deleted, the callback function would cause crash problem. The callback function only for specific data should be deleted when a entry object is deleted. @fix Test Plan: N/A Reviewers: raster, cedric, herdsman, woohyun, subodh6129 Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4435
This commit is contained in:
parent
98b0408a4e
commit
29ec0aa194
|
@ -3037,7 +3037,7 @@ _edje_entry_real_part_shutdown(Edje *ed, Edje_Real_Part *rp)
|
|||
en->pw_timer = NULL;
|
||||
}
|
||||
|
||||
evas_event_callback_del(ed->base->evas, EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE, _canvas_viewport_resize_cb);
|
||||
evas_event_callback_del_full(ed->base->evas, EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE, _canvas_viewport_resize_cb, rp);
|
||||
|
||||
#ifdef HAVE_ECORE_IMF
|
||||
if (rp->part->entry_mode >= EDJE_ENTRY_EDIT_MODE_EDITABLE)
|
||||
|
|
Loading…
Reference in New Issue