| 518 | } |
| 519 | |
| 520 | static void host_background_stop(host_state_t *host) { |
| 521 | if (host->http && host->http_started) { |
| 522 | host->http_ops->server_stop(host->http_ops->context, host->http); |
| 523 | } |
| 524 | if (host->watcher) { |
| 525 | cbm_watcher_stop(host->watcher); |
| 526 | } |
| 527 | } |
| 528 | |
| 529 | static bool host_background_join(host_state_t *host) { |
| 530 | if (host->http_started) { |
no test coverage detected