mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
don't bother about unregistering stuff during shutdown
This commit is contained in:
parent
8eab487020
commit
c826725b7a
@ -264,8 +264,11 @@ retry:;
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( mc ) {
|
||||||
monitor_cache_release( mi, mc->mc_e );
|
monitor_cache_release( mi, mc->mc_e );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ldap_pvt_thread_mutex_unlock( &mi->mi_cache_mutex );
|
ldap_pvt_thread_mutex_unlock( &mi->mi_cache_mutex );
|
||||||
|
|
||||||
|
@ -1028,6 +1028,12 @@ monitor_back_unregister_entry(
|
|||||||
return -1;
|
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;
|
mi = ( monitor_info_t * )be_monitor->be_private;
|
||||||
|
|
||||||
assert( mi != NULL );
|
assert( mi != NULL );
|
||||||
@ -1124,6 +1130,12 @@ monitor_back_unregister_entry_parent(
|
|||||||
return -1;
|
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;
|
mi = ( monitor_info_t * )be_monitor->be_private;
|
||||||
|
|
||||||
assert( mi != NULL );
|
assert( mi != NULL );
|
||||||
@ -1264,6 +1276,12 @@ monitor_back_unregister_entry_attrs(
|
|||||||
return -1;
|
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;
|
mi = ( monitor_info_t * )be_monitor->be_private;
|
||||||
|
|
||||||
assert( mi != NULL );
|
assert( mi != NULL );
|
||||||
|
Loading…
Reference in New Issue
Block a user