MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cpp_recv_close

Function cpp_recv_close

tests/test_pipeline.c:23169–23186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23167} CppRecvRun;
23168
23169static void cpp_recv_close(CppRecvRun *r) {
23170 if (r->s) {
23171 cbm_store_close(r->s);
23172 }
23173 if (r->p) {
23174 cbm_pipeline_free(r->p);
23175 }
23176 if (r->saved_workers) {
23177 cbm_setenv("CBM_WORKERS", r->saved_workers, 1);
23178 free(r->saved_workers);
23179 } else {
23180 cbm_unsetenv("CBM_WORKERS");
23181 }
23182 if (r->tmp[0]) {
23183 th_rmtree(r->tmp);
23184 }
23185 memset(r, 0, sizeof(*r));
23186}
23187
23188/* Every node an assertion names must exist, or "no CALLS edge" would also
23189 * pass for a fixture that never got indexed. */

Callers 2

cpp_recv_openFunction · 0.85
test_pipeline.cFile · 0.85

Calls 5

cbm_store_closeFunction · 0.85
cbm_pipeline_freeFunction · 0.85
cbm_setenvFunction · 0.85
cbm_unsetenvFunction · 0.85
th_rmtreeFunction · 0.85

Tested by

no test coverage detected