MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / clear_global_context

Function clear_global_context

context.c:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183
184
185void clear_global_context(void)
186{
187 if (current_processing_ctx) {
188 context_destroy(CONTEXT_GLOBAL, current_processing_ctx);
189 context_free(current_processing_ctx);
190 current_processing_ctx = NULL;
191 }
192}
193
194
195int context_register_int(enum osips_context type, context_destroy_f f)

Callers

nothing calls this directly

Calls 1

context_destroyFunction · 0.85

Tested by

no test coverage detected