forked from enlightenment/efl
don't call the prepare callback if the fd_handler is about to be deleted
SVN revision: 16819
This commit is contained in:
parent
1e376a2135
commit
dff4dba310
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue