Add one more command server fix so it still works correctly on Windows and reeanble the command server by default.

This commit is contained in:
athile 2010-07-06 10:28:48 -07:00
parent 57de436db4
commit a638c330ec
2 changed files with 3 additions and 2 deletions

View file

@ -54,6 +54,7 @@ namespace OMW { namespace CommandServer { namespace Detail {
void Connection::stop()
{
mSocket.shutdown(boost::asio::socket_base::shutdown_both);
mSocket.close();
mpThread->join();
}