Added Server::stop()
This commit is contained in:
parent
2f75911550
commit
084f45cc33
1 changed files with 4 additions and 0 deletions
|
|
@ -62,6 +62,10 @@ namespace SimpleWeb {
|
||||||
t.join();
|
t.join();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void stop() {
|
||||||
|
m_io_service.stop();
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
boost::asio::io_service m_io_service;
|
boost::asio::io_service m_io_service;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue