mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	context: fix shutdown log messages identifying the wrong thread
We are waiting for the status thread, not the progress thread. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		@@ -1043,8 +1043,8 @@ BeesContext::stop()
 | 
			
		||||
 | 
			
		||||
	// XXX: nobody can see this BEESNOTE because we are killing the
 | 
			
		||||
	// thread that publishes it
 | 
			
		||||
	BEESNOTE("waiting for progress thread");
 | 
			
		||||
	BEESLOGDEBUG("Waiting for progress thread");
 | 
			
		||||
	BEESNOTE("waiting for status thread");
 | 
			
		||||
	BEESLOGDEBUG("Waiting for status thread");
 | 
			
		||||
	lock.lock();
 | 
			
		||||
	m_stop_status = true;
 | 
			
		||||
	m_stop_condvar.notify_all();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user