forked from enlightenment/enlightenment
luncher: free the timers
otherwise the timeout can kick in when the icon is already destroyed. fixes T5033
This commit is contained in:
parent
e34d1aaba9
commit
ecfe4fd289
|
@ -206,6 +206,8 @@ _bar_icon_del(Instance *inst, Icon *ic)
|
|||
if (ic->exec)
|
||||
e_exec_instance_watcher_del(ic->exec, _bar_instance_watch, ic);
|
||||
ic->exec = NULL;
|
||||
E_FREE_FUNC(ic->mouse_in_timer, ecore_timer_del);
|
||||
E_FREE_FUNC(ic->mouse_out_timer, ecore_timer_del);
|
||||
E_FREE(ic);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue