mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 13:40:37 -05:00
Unbind all connections on shutdown
This commit is contained in:
parent
91e69fc335
commit
a718cb335c
1 changed files with 4 additions and 0 deletions
|
|
@ -169,6 +169,10 @@ Ri_process(
|
|||
re = new_re;
|
||||
rq->rq_unlock( rq );
|
||||
if ( sglob->slurpd_shutdown ) {
|
||||
if ( ri->ri_ldp ) {
|
||||
ldap_unbind( ri->ri_ldp );
|
||||
ri->ri_ldp = NULL;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue