From: Pierangelo Masarati Date: Wed, 29 Aug 2007 18:13:12 +0000 (+0000) Subject: allow shutdown while syncrepl_del_nonpresent() X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~41 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19330dc1ccc16e5017b74e5f0e30e9a99315ae15;p=openldap allow shutdown while syncrepl_del_nonpresent() --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index ee1e37f02f..af5b81d446 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2384,6 +2384,10 @@ syncrepl_del_nonpresent( ber_bvfree( np_prev->npe_name ); ber_bvfree( np_prev->npe_nname ); ch_free( np_prev ); + + if ( slapd_shutdown ) { + break; + } } slap_graduate_commit_csn( op );