Browse Source

Merge branch 'master' of http://local.beijingyongan.com:3000/linux-dev/ya-serv

lixioayao 5 years ago
parent
commit
2edc1affc2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      worker.cpp

+ 1 - 0
worker.cpp

@@ -262,6 +262,7 @@ struct worker_impl:worker
 		{
 			m_timer_worker->async_stop();
 			m_timer_worker->join();
+			m_timer_worker.reset(nullptr);
 		}
 
 		int exp=0;