Added missing pthread guard

Patch from Vincent Torri



SVN revision: 42005
This commit is contained in:
Lars Munch 2009-08-26 05:59:56 +00:00
parent c891a34a08
commit 023b8909af
1 changed files with 2 additions and 0 deletions

View File

@ -159,8 +159,10 @@ ecore_thread_shutdown(void)
if (!_ecore_thread_init)
{
/* FIXME: If function are still running in the background, should we kill them ? */
#ifdef BUILD_PTHREAD
ecore_event_handler_del(del_handler);
del_handler = NULL;
#endif
}
return _ecore_thread_init;