summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_loop_fd.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-04-09 16:55:15 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit2306a3b0907e71e893db2f8a5a23732d77239f12 (patch)
tree76d87cd455466bf6b3a74e1d46d66e6f1467ae2b /src/lib/ecore/efl_loop_fd.c
parent79afb51626cef331a3d00e1d52a30057082b1a7b (diff)
ecore: logically do the disconnection from the main loop API during invalidate.
Diffstat (limited to 'src/lib/ecore/efl_loop_fd.c')
-rw-r--r--src/lib/ecore/efl_loop_fd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore/efl_loop_fd.c b/src/lib/ecore/efl_loop_fd.c
index 8e4871d7c2..ab4e184dac 100644
--- a/src/lib/ecore/efl_loop_fd.c
+++ b/src/lib/ecore/efl_loop_fd.c
@@ -200,11 +200,11 @@ _efl_loop_fd_efl_object_parent_set(Eo *obj, Efl_Loop_Fd_Data *pd, Efl_Object *pa
200} 200}
201 201
202static void 202static void
203_efl_loop_fd_efl_object_destructor(Eo *obj, Efl_Loop_Fd_Data *pd) 203_efl_loop_fd_efl_object_invalidate(Eo *obj, Efl_Loop_Fd_Data *pd)
204{ 204{
205 efl_destructor(efl_super(obj, MY_CLASS));
206
207 ecore_main_fd_handler_del(pd->handler); 205 ecore_main_fd_handler_del(pd->handler);
206
207 efl_invalidate(efl_super(obj, MY_CLASS));
208} 208}
209 209
210#include "efl_loop_fd.eo.c" 210#include "efl_loop_fd.eo.c"