示例#1
0
/**
 * Cleanup function to log nginx process exit and destroy ironbee engine
 *
 * @param[in]  cycle     nginx cycle rec
 */
static void ironbee_exit(ngx_cycle_t *cycle)
{
    ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0, "ironbee_exit %d", getpid());
    /* FIXME: this fails under gdb */
    ngxib_log(cycle->log);
    ib_engine_destroy(ironbee);
    ngxib_log(NULL);
}
示例#2
0
/**
 * @internal
 *
 * Cleanup.
 */
static apr_status_t ironbee_module_cleanup(void *data)
{
    ib_engine_destroy(ironbee);

    return APR_SUCCESS;
}
示例#3
0
void Engine::destroy()
{
    ib_engine_destroy(ib());
}
示例#4
0
文件: ironbee.c 项目: igalic/ironbee
static void ibexit(void)
{
  TSTextLogObjectDestroy(ironbee_log);
  ib_engine_destroy(ironbee);
}