summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore/ecore_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index ebd272d669..125c886e65 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -344,6 +344,7 @@ _ecore_fd_close_on_exec(int fd)
344#endif 344#endif
345} 345}
346 346
347#ifdef EFL_EXTRA_SANITY_CHECKS
347static inline void 348static inline void
348_ecore_fd_valid(void) 349_ecore_fd_valid(void)
349{ 350{
@@ -360,6 +361,7 @@ _ecore_fd_valid(void)
360 } 361 }
361 } 362 }
362} 363}
364#endif
363 365
364static inline void 366static inline void
365_ecore_try_add_to_call_list(Ecore_Fd_Handler *fdh) 367_ecore_try_add_to_call_list(Ecore_Fd_Handler *fdh)
@@ -1997,7 +1999,9 @@ _ecore_main_fd_handlers_call(void)
1997 } 1999 }
1998 } 2000 }
1999 fdh->references--; 2001 fdh->references--;
2002#ifdef EFL_EXTRA_SANITY_CHECKS
2000 _ecore_fd_valid(); 2003 _ecore_fd_valid();
2004#endif
2001 2005
2002 fdh->read_active = EINA_FALSE; 2006 fdh->read_active = EINA_FALSE;
2003 fdh->write_active = EINA_FALSE; 2007 fdh->write_active = EINA_FALSE;