forked from enlightenment/efl
Fix epoll delete fd handling in child process - #796
SVN revision: 60895
This commit is contained in:
parent
d05c2ef3c2
commit
bf448752f4
|
@ -252,3 +252,7 @@
|
||||||
avoid wakeups and excess animation etc. when in the background
|
avoid wakeups and excess animation etc. when in the background
|
||||||
or another "powersave" state.
|
or another "powersave" state.
|
||||||
|
|
||||||
|
2011-07-01 Carsten Haitzler (The Rasterman)
|
||||||
|
|
||||||
|
* Fix epoll delete fd handling in child process - #796
|
||||||
|
|
||||||
|
|
|
@ -903,8 +903,8 @@ ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
fd_handler->delete_me = EINA_TRUE;
|
|
||||||
_ecore_main_fdh_poll_del(fd_handler);
|
_ecore_main_fdh_poll_del(fd_handler);
|
||||||
|
fd_handler->delete_me = EINA_TRUE;
|
||||||
fd_handlers_to_delete = eina_list_append(fd_handlers_to_delete, fd_handler);
|
fd_handlers_to_delete = eina_list_append(fd_handlers_to_delete, fd_handler);
|
||||||
if (fd_handler->prep_func && fd_handlers_with_prep)
|
if (fd_handler->prep_func && fd_handlers_with_prep)
|
||||||
fd_handlers_with_prep = eina_list_remove(fd_handlers_with_prep, fd_handler);
|
fd_handlers_with_prep = eina_list_remove(fd_handlers_with_prep, fd_handler);
|
||||||
|
|
Loading…
Reference in New Issue