Sfoglia il codice sorgente

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

lixioayao 5 anni fa
parent
commit
2edc1affc2
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;