forked from enlightenment/efl
eina/mempool: remove debug thread check to verify mempool deletion thread
Summary: a common use case for mempools is that they get created by a thread but then exist for the duration of the app's lifetime until shutdown() occurs in the main thread. there is no reason to have an assert here which blocks that use case Depends on D6434 Reviewers: ManMower, bu5hm4n, devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6435
This commit is contained in:
parent
3a3fcfb423
commit
f23344733f
|
@ -623,10 +623,6 @@ eina_chained_mempool_shutdown(void *data)
|
|||
|
||||
eina_spinlock_free(&mp->mutex);
|
||||
|
||||
#ifdef EINA_HAVE_DEBUG_THREADS
|
||||
assert(eina_thread_equal(mp->self, eina_thread_self()));
|
||||
#endif
|
||||
|
||||
free(mp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue