static VALUE cr_destroy_with_destroy_check (VALUE self) { if (DATA_PTR (self)) cr_destroy (self); return Qnil; }
void teardown(void) { int rc; //empty event queue queue_dispose_queue(event_queue); LOG_DEBUG(TEST_SIPSTACK_PREFIX "Event queue emptied successfully."); rc = tm_destroy(0); fail_if(rc == 0, "thread management could not be released"); rc = logger_destroy(); fail_if(rc == 0, "logger could not be released"); rc = cr_destroy(); fail_if(rc == 0, "config reader could not be released"); }
static int cr_destroy_all_guarded_contexts_at_end_iter (VALUE key, VALUE value, VALUE data) { cr_destroy (key); return ST_CONTINUE; }