summaryrefslogtreecommitdiff
path: root/src
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
parent79afb51626cef331a3d00e1d52a30057082b1a7b (diff)
ecore: logically do the disconnection from the main loop API during invalidate.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore/efl_loop_fd.c6
-rw-r--r--src/lib/ecore/efl_loop_fd.eo2
2 files changed, 4 insertions, 4 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"
diff --git a/src/lib/ecore/efl_loop_fd.eo b/src/lib/ecore/efl_loop_fd.eo
index 45512b3b15..472bdaf211 100644
--- a/src/lib/ecore/efl_loop_fd.eo
+++ b/src/lib/ecore/efl_loop_fd.eo
@@ -40,7 +40,7 @@ class Efl.Loop_Fd (Efl.Loop_Consumer)
40 } 40 }
41 implements { 41 implements {
42 Efl.Object.constructor; 42 Efl.Object.constructor;
43 Efl.Object.destructor; 43 Efl.Object.invalidate;
44 Efl.Object.parent { set; } 44 Efl.Object.parent { set; }
45 } 45 }
46} 46}