mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 00:20:46 +00:00 
			
		
		
		
	always bring to closing state if termination requested
This commit is contained in:
		
							parent
							
								
									4d0047ae7c
								
							
						
					
					
						commit
						09aa96e486
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -187,10 +187,10 @@ namespace transport
 | 
			
		|||
	{
 | 
			
		||||
		if (m_State == eSSU2SessionStateEstablished || m_State == eSSU2SessionStateClosing)
 | 
			
		||||
		{
 | 
			
		||||
			m_State = eSSU2SessionStateClosing;
 | 
			
		||||
			m_TerminationReason = reason;
 | 
			
		||||
			SendTermination ();
 | 
			
		||||
		}
 | 
			
		||||
		m_State = eSSU2SessionStateClosing;
 | 
			
		||||
	}	
 | 
			
		||||
		
 | 
			
		||||
	void SSU2Session::Established ()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue