mirror of
				https://github.com/craigerl/aprsd.git
				synced 2025-11-03 21:20:23 -05:00 
			
		
		
		
	Ensure plugin threads are valid
This patch makes sure that the plugin threads returned from create_threads is somewhat valid
This commit is contained in:
		
							parent
							
								
									605911cb84
								
							
						
					
					
						commit
						7e6dffb34b
					
				@ -60,7 +60,9 @@ class APRSDPluginBase(metaclass=abc.ABCMeta):
 | 
				
			|||||||
        self.config = config
 | 
					        self.config = config
 | 
				
			||||||
        self.message_counter = 0
 | 
					        self.message_counter = 0
 | 
				
			||||||
        self.setup()
 | 
					        self.setup()
 | 
				
			||||||
        self.threads = self.create_threads()
 | 
					        threads = self.create_threads()
 | 
				
			||||||
 | 
					        if threads:
 | 
				
			||||||
 | 
					            self.threads = threads
 | 
				
			||||||
        if self.threads:
 | 
					        if self.threads:
 | 
				
			||||||
            self.start_threads()
 | 
					            self.start_threads()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user