don't call the prepare callback if the fd_handler is about to be deleted

SVN revision: 16819
This commit is contained in:
tsauerbeck 2005-09-20 19:15:49 +00:00 committed by tsauerbeck
parent 1e376a2135
commit dff4dba310
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ _ecore_main_select(double timeout)
fdh = (Ecore_Fd_Handler *)l;
if (fdh->prep_func)
if (!fdh->delete_me && fdh->prep_func)
fdh->prep_func (fdh->prep_data, fdh);
}
for (l = (Ecore_List2 *)fd_handlers; l; l = l->next)