mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Don't complain if detached threads exit after ldap_debug_thread_destroy().
This commit is contained in:
parent
584ea90db2
commit
bb890724d4
@ -714,7 +714,9 @@ static void
|
|||||||
thread_exiting( const char *how, const char *msg )
|
thread_exiting( const char *how, const char *msg )
|
||||||
{
|
{
|
||||||
ldap_pvt_thread_t thread;
|
ldap_pvt_thread_t thread;
|
||||||
|
#if 0 /* Detached threads may exit after ldap_debug_thread_destroy(). */
|
||||||
ERROR_IF( !threading_enabled, msg );
|
ERROR_IF( !threading_enabled, msg );
|
||||||
|
#endif
|
||||||
thread = ldap_pvt_thread_self();
|
thread = ldap_pvt_thread_self();
|
||||||
if( tracethreads ) {
|
if( tracethreads ) {
|
||||||
char buf[40];
|
char buf[40];
|
||||||
|
Loading…
Reference in New Issue
Block a user