correct boost error in mac os x 70/11170/2
authorAngelo Mantellini <[email protected]>
Thu, 15 Mar 2018 16:00:56 +0000 (17:00 +0100)
committerAngelo Mantellini <[email protected]>
Thu, 15 Mar 2018 16:13:34 +0000 (17:13 +0100)
Change-Id: I81a52a1b090fb1b05edcf13dc5c6db8e45d5660e
Signed-off-by: Angelo Mantellini <[email protected]>
http-server/http_server.cc

index a0ec905..a92c8fd 100644 (file)
@@ -159,9 +159,9 @@ void HttpServer::start() {
 }
 
 void HttpServer::stop() {
-  acceptor_.close();
-
   io_service_.stop();
+  
+acceptor_.close();
 
   std::map<int, std::shared_ptr<libl4::http::HTTPServerPublisher>>& icn_publishers = icn_acceptor_->getPublishers();