forked from enlightenment/efl
parent
2e9651eeca
commit
15f3719964
|
@ -126,6 +126,7 @@ _ecore_thread_handler(void *data __UNUSED__, void *buffer, unsigned int nbyte)
|
||||||
ecore_pipe_del(work->u.long_run.notify);
|
ecore_pipe_del(work->u.long_run.notify);
|
||||||
pthread_cond_destroy(&work->cond);
|
pthread_cond_destroy(&work->cond);
|
||||||
pthread_mutex_destroy(&work->mutex);
|
pthread_mutex_destroy(&work->mutex);
|
||||||
|
if (work->hash)
|
||||||
eina_hash_free(work->hash);
|
eina_hash_free(work->hash);
|
||||||
free(work);
|
free(work);
|
||||||
}
|
}
|
||||||
|
@ -333,6 +334,7 @@ _ecore_thread_shutdown(void)
|
||||||
|
|
||||||
ecore_pipe_del(pth->p);
|
ecore_pipe_del(pth->p);
|
||||||
}
|
}
|
||||||
|
if (_ecore_thread_global_hash)
|
||||||
eina_hash_free(_ecore_thread_global_hash);
|
eina_hash_free(_ecore_thread_global_hash);
|
||||||
ecore_event_handler_del(del_handler);
|
ecore_event_handler_del(del_handler);
|
||||||
del_handler = NULL;
|
del_handler = NULL;
|
||||||
|
|
Loading…
Reference in New Issue