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;
}
Example #2
0
 void EasyHelper::buf_cleanup_cb(easy_buf_t *b, void *arg)
 {
   UNUSED(b);
   easy_pool_destroy((easy_pool_t*)arg);
 }