summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/efl_net_server_unix.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-04-17 16:17:29 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit33fd77e9e43b0fa29cb484b72d910bdf0ecccbc8 (patch)
tree0ebd1c0615445af5e1321a85b6878087b4cb54a8 /src/lib/ecore_con/efl_net_server_unix.c
parent193149deb85004aeda452dd4d729f995f4f313f9 (diff)
ecore: move close_on_destructor to close_on_invalidate as that describe the behavior best.
Fix all use to correctly behave on invalidate.
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_con/efl_net_server_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_con/efl_net_server_unix.c b/src/lib/ecore_con/efl_net_server_unix.c
index a0ab684858..38280c27c8 100644
--- a/src/lib/ecore_con/efl_net_server_unix.c
+++ b/src/lib/ecore_con/efl_net_server_unix.c
@@ -246,7 +246,7 @@ _efl_net_server_unix_efl_net_server_fd_client_add(Eo *o, Efl_Net_Server_Unix_Dat
246{ 246{
247 Eo *client = efl_add(EFL_NET_SOCKET_UNIX_CLASS, o, 247 Eo *client = efl_add(EFL_NET_SOCKET_UNIX_CLASS, o,
248 efl_io_closer_close_on_exec_set(efl_added, efl_net_server_fd_close_on_exec_get(o)), 248 efl_io_closer_close_on_exec_set(efl_added, efl_net_server_fd_close_on_exec_get(o)),
249 efl_io_closer_close_on_destructor_set(efl_added, EINA_TRUE), 249 efl_io_closer_close_on_invalidate_set(efl_added, EINA_TRUE),
250 efl_loop_fd_set(efl_added, client_fd)); 250 efl_loop_fd_set(efl_added, client_fd));
251 if (!client) 251 if (!client)
252 { 252 {