fix order of destructor call of io_service

This commit is contained in:
na-trium-144 2023-11-20 16:25:10 +09:00 committed by gittiver
parent f3e0846ee5
commit 921ce6f972
1 changed files with 1 additions and 1 deletions

View File

@ -254,8 +254,8 @@ namespace crow
}
private:
asio::io_service io_service_;
std::vector<std::unique_ptr<asio::io_service>> io_service_pool_;
asio::io_service io_service_;
std::vector<detail::task_timer*> task_timer_pool_;
std::vector<std::function<std::string()>> get_cached_date_str_pool_;
tcp::acceptor acceptor_;