| 920 | } |
| 921 | |
| 922 | static bool host_application_shutdown(host_state_t *host) { |
| 923 | if (cbm_daemon_application_shutdown(host->application, HOST_APPLICATION_SHUTDOWN_MS)) { |
| 924 | return true; |
| 925 | } |
| 926 | cbm_log_error("daemon.shutdown_timeout", "component", "operations"); |
| 927 | return false; |
| 928 | } |
| 929 | |
| 930 | static bool host_runtime_stop_free(cbm_daemon_runtime_service_t *service) { |
| 931 | if (cbm_daemon_runtime_service_state(service) != CBM_DAEMON_RUNTIME_SERVICE_EXITED) { |
no test coverage detected