always del active connection
This commit is contained in:
		
							parent
							
								
									1e7c9e350d
								
							
						
					
					
						commit
						4013818599
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -131,9 +131,9 @@ class ProxyResolver:
 | 
			
		|||
			self.connections.remove(connection)
 | 
			
		||||
		except ValueError:
 | 
			
		||||
			pass
 | 
			
		||||
		if self.state != S_FINISHED and connection == \
 | 
			
		||||
								self.active_connection:
 | 
			
		||||
		if connection == self.active_connection:
 | 
			
		||||
			self.active_connection = None
 | 
			
		||||
			if self.state != S_FINISHED:
 | 
			
		||||
				self.state = S_INITIAL
 | 
			
		||||
				self.try_next_connection()
 | 
			
		||||
	
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue