int tdhs_dbcontext::destory() { easy_debug_log("TDHS:thd end %p", thd); destory_thd(thd); thd = NULL; if (pool) { easy_pool_destroy(pool); pool = NULL; } return EASY_OK; }
void EasyHelper::buf_cleanup_cb(easy_buf_t *b, void *arg) { UNUSED(b); easy_pool_destroy((easy_pool_t*)arg); }