before i changelog and backport this... discomfitor - look at this!

how the hell did we get ecore_con to the state of NEVER
closing/freeing clients?



SVN revision: 71352
This commit is contained in:
Carsten Haitzler 2012-05-23 09:07:47 +00:00
parent 7d9ec3120f
commit c824a97c71
1 changed files with 11 additions and 3 deletions

View File

@ -116,9 +116,17 @@ _ecore_con_client_kill(Ecore_Con_Client *cl)
}
INF("Lost client %s", (cl->ip) ? cl->ip : "");
if (cl->fd_handler)
ecore_main_fd_handler_del(cl->fd_handler);
cl->fd_handler = NULL;
{
ecore_main_fd_handler_del(cl->fd_handler);
cl->fd_handler = NULL;
}
if (cl->host_server)
{
_ecore_con_client_free(cl);
cl->host_server->clients =
eina_list_remove(cl->host_server->clients, cl);
cl->host_server = NULL;
}
}
void