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

Function host_cleanup_force_terminate

src/daemon/host.c:179–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179static _Noreturn void host_cleanup_force_terminate(const char *component) {
180 /* Early startup failures can precede the ordinary operation-log setup.
181 * Make one best-effort attempt to establish that same owner-only durable
182 * sink before the process-level escape releases every native claim. */
183 if (!g_host_log_file) {
184 char conflict_log[HOST_PATH_CAP];
185 cbm_ui_log_init();
186 (void)host_log_open(conflict_log);
187 }
188 host_force_terminate(component);
189}
190
191static void host_cleanup_release_until_complete(cbm_daemon_host_cleanup_release_for_test_fn release,
192 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