The related program is as following:
apr_status_t destory_lock(void *not_used)
{
ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, "enter destroy"); // this log is always missing
return APR_SUCCESS;
}
int filerepair_post_config(apr_pool_t *pconf, apr_pool_t *plog,
apr_pool_t *ptemp, server_rec *s){
apr_pool_cleanup_register(pconf, NULL, destory_lock, apr_pool_cleanup_null);
return APR_SUCCESS;
}
Any comments or suggestion on this issue is welcome.
Thank you in advance.
BRs//Weiye Chen