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:
Jean-Philippe Andre 2016-07-05 19:19:18 +09:00
parent 85a9bd5430
commit aaec7d940f
2 changed files with 2 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}