static void cleanup(void *const unused) { HTTPServerFree(&server_raw); HTTPServerFree(&server_tls); BlogFree(&blog); SLNRepoFree(&repo); async_pool_destroy_shared(); }
static void cleanup(void *const unused) { HTTPServerFree(&server_raw); HTTPServerFree(&server_tls); RSSServerFree(&rss); BlogFree(&blog); SLNRepoFree(&repo); async_pool_enter(NULL); fflush(NULL); // Everything. async_pool_leave(NULL); async_pool_destroy_shared(); }