mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
Avoid shutdown problems
This commit is contained in:
parent
0af440befe
commit
6044e46ec7
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue