| 191 | } |
| 192 | |
| 193 | static _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 | |
| 205 | static void host_cleanup_release_until_complete(cbm_daemon_host_cleanup_release_for_test_fn release, |
| 206 | void *context, const char *component) { |
no test coverage detected