From bb890724d4c7a7d4eeb8bd8cec59891c101afe39 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 9 May 2007 19:21:08 +0000 Subject: [PATCH] Don't complain if detached threads exit after ldap_debug_thread_destroy(). --- libraries/libldap_r/thr_debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap_r/thr_debug.c b/libraries/libldap_r/thr_debug.c index 87ed67fa02..4971ca9148 100644 --- a/libraries/libldap_r/thr_debug.c +++ b/libraries/libldap_r/thr_debug.c @@ -714,7 +714,9 @@ static void thread_exiting( const char *how, const char *msg ) { ldap_pvt_thread_t thread; +#if 0 /* Detached threads may exit after ldap_debug_thread_destroy(). */ ERROR_IF( !threading_enabled, msg ); +#endif thread = ldap_pvt_thread_self(); if( tracethreads ) { char buf[40]; -- 2.39.5