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

Function host_cleanup_force_terminate

src/daemon/host.c:193–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193static _Noreturn void host_cleanup_force_terminate(const char *component) {
194 /* Early startup failures can precede the ordinary operation-log setup.
195 * Make one best-effort attempt to establish that same owner-only durable
196 * sink before the process-level escape releases every native claim. */
197 if (!g_host_log_file) {
198 char conflict_log[HOST_PATH_CAP];
199 cbm_ui_log_init();
200 (void)host_log_open(conflict_log);
201 }
202 host_force_terminate(component);
203}
204
205static void host_cleanup_release_until_complete(cbm_daemon_host_cleanup_release_for_test_fn release,
206 void *context, const char *component) {

Callers 2

host_state_freeFunction · 0.85

Calls 3

cbm_ui_log_initFunction · 0.85
host_log_openFunction · 0.85
host_force_terminateFunction · 0.85

Tested by

no test coverage detected