mirror of
				https://github.com/craigerl/aprsd.git
				synced 2025-11-03 13:10:31 -05:00 
			
		
		
		
	Log closing client connection.
This patch updates the aprsis connection client to add logging when the close() happens
This commit is contained in:
		
							parent
							
								
									3e9bf2422a
								
							
						
					
					
						commit
						9951b12e2d
					
				@ -33,7 +33,11 @@ class Aprsdis(aprslib.IS):
 | 
			
		||||
 | 
			
		||||
    def stop(self):
 | 
			
		||||
        self.thread_stop = True
 | 
			
		||||
        LOG.info("Shutdown Aprsdis client.")
 | 
			
		||||
        LOG.warning("Shutdown Aprsdis client.")
 | 
			
		||||
 | 
			
		||||
    def close(self):
 | 
			
		||||
        LOG.warning("Closing Aprsdis client.")
 | 
			
		||||
        super().close()
 | 
			
		||||
 | 
			
		||||
    @wrapt.synchronized(lock)
 | 
			
		||||
    def send(self, packet: core.Packet):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user