fix #634.don't create timer in constructor

This commit is contained in:
orignal 2016-09-16 10:31:11 -04:00
parent f9a5f4955c
commit fbb5bb2f05
2 changed files with 24 additions and 32 deletions

View file

@ -101,10 +101,7 @@ namespace client
BOBCommandChannel * m_BOBCommandChannel;
I2CPServer * m_I2CPServer;
boost::asio::io_service m_Service;
std::thread * m_ServiceThread;
boost::asio::deadline_timer m_CleanupUDPTimer;
std::unique_ptr<boost::asio::deadline_timer> m_CleanupUDPTimer;
public:
// for HTTP