From 19330dc1ccc16e5017b74e5f0e30e9a99315ae15 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 29 Aug 2007 18:13:12 +0000 Subject: [PATCH] allow shutdown while syncrepl_del_nonpresent() --- servers/slapd/syncrepl.c | 4 ++++ 1 file changed, 4 insertions(+) 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 ); -- 2.39.5