static void on_exit_handler()
{
    //some things
    if(LOGF_T != NULL) {
        log_destory(LOGF_T);
        LOGF_T = NULL;
    }
}
Example #2
0
static void on_master_exit_handler()
{
    LOGF(ALERT, "master exited");
    shm_free(_shm_serv_status);
    log_destory(ACCESS_LOG);
}