net module - del popup on shutdown too to avoid leak

This commit is contained in:
Carsten Haitzler 2019-05-13 16:12:33 +01:00
parent e3650e8ca6
commit 8d40aa91a4
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ _gc_shutdown(E_Gadcon_Client *gcc)
inst = gcc->data;
net_cfg->instances = eina_list_remove(net_cfg->instances, inst);
if (inst->timer) ecore_timer_del(inst->timer);
if (inst->popup) e_object_del(E_OBJECT(inst->popup));
inst->popup = NULL;
if (inst->o_net)
{
evas_object_event_callback_del(inst->o_net, EVAS_CALLBACK_MOUSE_DOWN,