[Vortex] [BUG] Possible bug with vortex_connection_remove_on_close_full
b.amiaux at ateme.com
Fri Dec 7 11:02:50 CET 2007
Benoit Amiaux wrote:
> Benoit Amiaux wrote:
> I've attached a patch that fix that bug
That patch is incomplete and wrong. The issue is that axl_list is unable
to release any item with some equal functions, like axl_list_always_return_1
Attached patch fix the issue properly by fixing
I do believe axl_list API is broken though, as sometimes items are
compared using the equal function, and sometimes using pointers.
However, if we do use the equal function, things like
__vortex_thread_pool->threads = axl_list_new (axl_list_always_return_1,
can never work. __vortex_thread_pool_terminate_thread can never be
called as the equal function can never return true.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Vortex