]> git.sur5r.net Git - openldap/commitdiff
Don't complain if detached threads exit after ldap_debug_thread_destroy().
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 9 May 2007 19:21:08 +0000 (19:21 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 9 May 2007 19:21:08 +0000 (19:21 +0000)
libraries/libldap_r/thr_debug.c

index 87ed67fa02b3ae8a1d9ad7931d92fead52201e03..4971ca914834ff79a42c92f711a82b091c97f83b 100644 (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];