mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't call Debug inside a signal handler
This commit is contained in:
parent
df14b954e2
commit
cb94e155ae
1 changed files with 0 additions and 1 deletions
|
|
@ -1048,7 +1048,6 @@ slap_set_shutdown( int sig )
|
|||
ldap_pvt_thread_kill( listener_tid, LDAP_SIGUSR1 );
|
||||
}
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "Shutdown %d ordered", sig, 0, 0 );
|
||||
/* trying to "hit" the socket seems to always get a */
|
||||
/* EWOULDBLOCK error, so just close the listen socket to */
|
||||
/* break out of the select since we're shutting down anyway */
|
||||
|
|
|
|||
Loading…
Reference in a new issue