Fix epoll delete fd handling in child process - #796

SVN revision: 60895
This commit is contained in:
Carsten Haitzler 2011-07-01 00:04:06 +00:00
parent d05c2ef3c2
commit bf448752f4
2 changed files with 5 additions and 1 deletions

View File

@ -252,3 +252,7 @@
avoid wakeups and excess animation etc. when in the background
or another "powersave" state.
2011-07-01 Carsten Haitzler (The Rasterman)
* Fix epoll delete fd handling in child process - #796

View File

@ -903,8 +903,8 @@ ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler)
return NULL;
}
fd_handler->delete_me = EINA_TRUE;
_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);
if (fd_handler->prep_func && fd_handlers_with_prep)
fd_handlers_with_prep = eina_list_remove(fd_handlers_with_prep, fd_handler);