zzj 5 years ago
parent
commit
1a95147fdb
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;