mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 22:33:07 -05:00
Fix tpool_shutdown, don't remove pool from list since pool_destroy
already does it.
This commit is contained in:
parent
7026d5219f
commit
5b8a74590b
1 changed files with 0 additions and 1 deletions
|
|
@ -111,7 +111,6 @@ ldap_int_thread_pool_shutdown ( void )
|
|||
struct ldap_int_thread_pool_s *pool;
|
||||
|
||||
while ((pool = LDAP_STAILQ_FIRST(&ldap_int_thread_pool_list)) != NULL) {
|
||||
LDAP_STAILQ_REMOVE_HEAD(&ldap_int_thread_pool_list, ltp_next);
|
||||
(ldap_pvt_thread_pool_destroy)(&pool, 0); /* ignore thr_debug macro */
|
||||
}
|
||||
ldap_pvt_thread_mutex_destroy(&ldap_pvt_thread_pool_mutex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue