how the hell did we get ecore_con to the state of NEVER
closing/freeing clients?
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@71352
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
}
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