fixed race condition

This commit is contained in:
orignal 2015-01-03 15:20:11 -05:00
parent 729cc4330e
commit 41974b8c75
2 changed files with 30 additions and 24 deletions

View file

@ -112,7 +112,7 @@ namespace client
private:
bool m_IsRunning;
volatile bool m_IsRunning;
std::thread * m_Thread;
boost::asio::io_service m_Service;
boost::asio::io_service::work m_Work;