efl_ui_focus_manager_sub: remove event callback array when destructing

i forgot about that and this leads to a segfault in enlightenment, the
object then segfaults when the parent manager emits a event and then the
code tries to access the private data of a dead object.
This commit is contained in:
Marcel Hollerbach 2017-11-19 11:29:22 +01:00
parent 50fde448fb
commit 87900a97d0
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ _efl_ui_focus_manager_sub_efl_object_destructor(Eo *obj, Efl_Ui_Focus_Manager_Su
{
_border_unregister(obj, pd);
efl_event_callback_array_del(pd->manager, parent_manager(), obj);
efl_destructor(efl_super(obj, MY_CLASS));
}