forked from enlightenment/efl
Remove Eet_Connection from hash Before we call eet_connection_close
(as that frees the connection). Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
a97f3c0b9b
commit
b344ef2440
|
@ -151,8 +151,8 @@ cl_del(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Del
|
||||||
ec = eina_hash_find(clients, ev->client);
|
ec = eina_hash_find(clients, ev->client);
|
||||||
if (ec)
|
if (ec)
|
||||||
{
|
{
|
||||||
eet_connection_close(ec, &d);
|
|
||||||
eina_hash_del_by_data(clients, ec);
|
eina_hash_del_by_data(clients, ec);
|
||||||
|
eet_connection_close(ec, &d);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ECORE_CALLBACK_RENEW;
|
return ECORE_CALLBACK_RENEW;
|
||||||
|
|
Loading…
Reference in New Issue