Skip to content

Commit

Permalink
fix order of destructor call of io_service
Browse files Browse the repository at this point in the history
  • Loading branch information
na-trium-144 authored and gittiver committed Jan 1, 2024
1 parent f3e0846 commit 921ce6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/http_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 921ce6f

Please sign in to comment.