mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
Fix checkpoint task - must call stoptask before returning
This commit is contained in:
parent
5aed76fe78
commit
fbce032cf2
1 changed files with 3 additions and 0 deletions
|
|
@ -83,6 +83,9 @@ bdb_checkpoint( void *ctx, void *arg )
|
|||
|
||||
TXN_CHECKPOINT( bdb->bi_dbenv, bdb->bi_txn_cp_kbyte,
|
||||
bdb->bi_txn_cp_min, 0 );
|
||||
ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex );
|
||||
ldap_pvt_runqueue_stoptask( &slapd_rq, rtask );
|
||||
ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue