From 921ce6f97237e12a8e78ea981cc7254d68fc5fb4 Mon Sep 17 00:00:00 2001 From: na-trium-144 <100704180+na-trium-144@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:25:10 +0900 Subject: [PATCH] fix order of destructor call of io_service --- include/crow/http_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/crow/http_server.h b/include/crow/http_server.h index 85e88080a..c53ce70c7 100644 --- a/include/crow/http_server.h +++ b/include/crow/http_server.h @@ -254,8 +254,8 @@ namespace crow } private: - asio::io_service io_service_; std::vector> io_service_pool_; + asio::io_service io_service_; std::vector task_timer_pool_; std::vector> get_cached_date_str_pool_; tcp::acceptor acceptor_;