mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Avoid shutdown problems
This commit is contained in:
parent
0af440befe
commit
6044e46ec7
@ -1944,6 +1944,9 @@ syncprov_op_mod( Operation *op, SlapReply *rs )
|
||||
* Currently it's not an issue because there are
|
||||
* no dynamic config deletes...
|
||||
*/
|
||||
if ( slapd_shutdown )
|
||||
return SLAPD_ABANDON;
|
||||
|
||||
if ( !ldap_pvt_thread_pool_pausecheck( &connection_pool ))
|
||||
ldap_pvt_thread_yield();
|
||||
ldap_pvt_thread_mutex_lock( &mt->mt_mutex );
|
||||
|
Loading…
Reference in New Issue
Block a user