mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	fixed possible race condition
This commit is contained in:
		
							parent
							
								
									74ce485b73
								
							
						
					
					
						commit
						aa1f4ee72a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -64,7 +64,7 @@ namespace client
 | 
			
		|||
	void I2PService::TriggerReadyCheckTimer()
 | 
			
		||||
	{
 | 
			
		||||
		m_ReadyTimer.expires_from_now(boost::posix_time::seconds (1));
 | 
			
		||||
		m_ReadyTimer.async_wait(std::bind(&I2PService::HandleReadyCheckTimer, this, std::placeholders::_1));
 | 
			
		||||
		m_ReadyTimer.async_wait(std::bind(&I2PService::HandleReadyCheckTimer, shared_from_this (), std::placeholders::_1));
 | 
			
		||||
		m_ReadyTimerTriggered = true;
 | 
			
		||||
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue