forked from enlightenment/efl
Added missing pthread guard
Patch from Vincent Torri SVN revision: 42005
This commit is contained in:
parent
c891a34a08
commit
023b8909af
|
@ -159,8 +159,10 @@ ecore_thread_shutdown(void)
|
||||||
if (!_ecore_thread_init)
|
if (!_ecore_thread_init)
|
||||||
{
|
{
|
||||||
/* FIXME: If function are still running in the background, should we kill them ? */
|
/* FIXME: If function are still running in the background, should we kill them ? */
|
||||||
|
#ifdef BUILD_PTHREAD
|
||||||
ecore_event_handler_del(del_handler);
|
ecore_event_handler_del(del_handler);
|
||||||
del_handler = NULL;
|
del_handler = NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return _ecore_thread_init;
|
return _ecore_thread_init;
|
||||||
|
|
Loading…
Reference in New Issue