Don't complain if detached threads exit after ldap_debug_thread_destroy().

This commit is contained in:
Hallvard Furuseth 2007-05-09 19:21:08 +00:00
parent 584ea90db2
commit bb890724d4

View File

@ -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];