| 504 | } |
| 505 | |
| 506 | static void host_background_stop(host_state_t *host) { |
| 507 | if (host->http && host->http_started) { |
| 508 | host->http_ops->server_stop(host->http_ops->context, host->http); |
| 509 | } |
| 510 | if (host->watcher) { |
| 511 | cbm_watcher_stop(host->watcher); |
| 512 | } |
| 513 | } |
| 514 | |
| 515 | static bool host_background_join(host_state_t *host) { |
| 516 | if (host->http_started) { |
no test coverage detected