Persist the RPCServer object during the shutdown to avoid a crash.

This commit is contained in:
JoelKatz
2013-06-19 10:22:38 -07:00
parent 5360f69e1e
commit 8a134ede67
2 changed files with 10 additions and 9 deletions

View File

@@ -40,6 +40,7 @@ private:
void handle_write (const boost::system::error_code& ec);
void handle_read_line (const boost::system::error_code& ec);
void handle_read_req (const boost::system::error_code& ec);
void handle_shutdown (const boost::system::error_code& ec);
std::string handleRequest (const std::string& requestStr);