Fixed logging error messages when a local client connects while instance is starting up
This commit is contained in:
		
							parent
							
								
									fc0cf17c4d
								
							
						
					
					
						commit
						b584832b8f
					
				| @ -272,7 +272,8 @@ class LocalClientInterface(Interface): | |||||||
|             RNS.Transport.local_client_interfaces.remove(self) |             RNS.Transport.local_client_interfaces.remove(self) | ||||||
|             if hasattr(self, "parent_interface") and self.parent_interface != None: |             if hasattr(self, "parent_interface") and self.parent_interface != None: | ||||||
|                 self.parent_interface.clients -= 1 |                 self.parent_interface.clients -= 1 | ||||||
|                 RNS.Transport.owner._should_persist_data() |                 if hasattr(RNS.Transport, "owner") and RNS.Transport.owner != None: | ||||||
|  |                     RNS.Transport.owner._should_persist_data() | ||||||
| 
 | 
 | ||||||
|         if nowarning == False: |         if nowarning == False: | ||||||
|             RNS.log("The interface "+str(self)+" experienced an unrecoverable error and is being torn down. Restart Reticulum to attempt to open this interface again.", RNS.LOG_ERROR) |             RNS.log("The interface "+str(self)+" experienced an unrecoverable error and is being torn down. Restart Reticulum to attempt to open this interface again.", RNS.LOG_ERROR) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user