mixer - fix exe handler del and handle to stop crashes after mixer run
running emixer from the mixer module popup was resulting in crashes. it was this exe event handler handle and leaving a dangling garbage ptr after it was deleted. @fix
This commit is contained in:
parent
a451626cc6
commit
57b2988e7a
|
@ -432,8 +432,10 @@ _emixer_del_cb(void *data EINA_UNUSED, int type EINA_UNUSED,
|
|||
{
|
||||
mixer_context->emixer = NULL;
|
||||
if (mixer_context->emix_event_handler)
|
||||
ecore_event_handler_del(mixer_context->emix_event_handler);
|
||||
|
||||
{
|
||||
ecore_event_handler_del(mixer_context->emix_event_handler);
|
||||
mixer_context->emix_event_handler = NULL;
|
||||
}
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue