forked from enlightenment/efl
eina/threadqueue: use mempool_del for hash free function
Summary:
I typod this in 14ae3e3dec
and when using
mempools other than chained, this probably caused all apps to crash on
shutdown
Reviewers: ManMower, devilhorns
Reviewed By: ManMower
Subscribers: cedric, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6428
This commit is contained in:
parent
6eaa57852a
commit
b0cb3b935a
|
@ -352,7 +352,7 @@ eina_thread_queue_init(void)
|
|||
ERR("Cannot init thread queue block pool spinlock");
|
||||
return EINA_FALSE;
|
||||
}
|
||||
mempools = eina_hash_int32_new((Eina_Free_Cb)eina_mempool_free);
|
||||
mempools = eina_hash_int32_new((Eina_Free_Cb)eina_mempool_del);
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue