mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
don't bother about unregistering stuff during shutdown
This commit is contained in:
parent
8eab487020
commit
c826725b7a
@ -264,7 +264,10 @@ retry:;
|
||||
}
|
||||
|
||||
}
|
||||
monitor_cache_release( mi, mc->mc_e );
|
||||
|
||||
if ( mc ) {
|
||||
monitor_cache_release( mi, mc->mc_e );
|
||||
}
|
||||
}
|
||||
|
||||
ldap_pvt_thread_mutex_unlock( &mi->mi_cache_mutex );
|
||||
|
@ -1028,6 +1028,12 @@ monitor_back_unregister_entry(
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* entry will be regularly freed, and resources released
|
||||
* according to callbacks */
|
||||
if ( slapd_shutdown ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
mi = ( monitor_info_t * )be_monitor->be_private;
|
||||
|
||||
assert( mi != NULL );
|
||||
@ -1124,6 +1130,12 @@ monitor_back_unregister_entry_parent(
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* entry will be regularly freed, and resources released
|
||||
* according to callbacks */
|
||||
if ( slapd_shutdown ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
mi = ( monitor_info_t * )be_monitor->be_private;
|
||||
|
||||
assert( mi != NULL );
|
||||
@ -1264,6 +1276,12 @@ monitor_back_unregister_entry_attrs(
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* entry will be regularly freed, and resources released
|
||||
* according to callbacks */
|
||||
if ( slapd_shutdown ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
mi = ( monitor_info_t * )be_monitor->be_private;
|
||||
|
||||
assert( mi != NULL );
|
||||
|
Loading…
Reference in New Issue
Block a user