forked from enlightenment/efl
efl: Remove del_intercept before calling eo_del
In class destructor. Still not sure if we should do this or just set the pointer to NULL. Ping @TAsn
This commit is contained in:
parent
85a9bd5430
commit
aaec7d940f
|
@ -63,6 +63,7 @@ EOLIAN static void
|
|||
_efl_event_key_class_destructor(Eo_Class *klass EINA_UNUSED)
|
||||
{
|
||||
// this is a strange situation...
|
||||
eo_del_intercept_set(s_cached_event, NULL);
|
||||
eo_del(s_cached_event);
|
||||
s_cached_event = NULL;
|
||||
}
|
||||
|
|
|
@ -74,6 +74,7 @@ EOLIAN static void
|
|||
_efl_event_pointer_class_destructor(Eo_Class *klass EINA_UNUSED)
|
||||
{
|
||||
// this is a strange situation...
|
||||
eo_del_intercept_set(s_cached_event, NULL);
|
||||
eo_del(s_cached_event);
|
||||
s_cached_event = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue