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

Function application_worker_destroy_default

src/daemon/application.c:409–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409static void application_worker_destroy_default(void *context,
410 cbm_daemon_application_worker_t opaque) {
411 (void)context;
412 application_default_worker_t *worker = opaque;
413 cbm_index_worker_destroy(worker->handle);
414 free(worker->project);
415 cbm_free(CBM_MEM_CLASS_OTHER, worker);
416}
417
418static uint32_t application_get_u32(const uint8_t *bytes) {
419 return ((uint32_t)bytes[0] << 24) | ((uint32_t)bytes[1] << 16) | ((uint32_t)bytes[2] << 8) |

Callers 1

Calls 2

cbm_index_worker_destroyFunction · 0.85
cbm_freeFunction · 0.85

Tested by

no test coverage detected