mirror of https://github.com/CrowCpp/Crow.git
fix order of destructor call of io_service
This commit is contained in:
parent
f3e0846ee5
commit
921ce6f972
|
@ -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_;
|
||||
|
|
Loading…
Reference in New Issue