mirror of
https://github.com/craigerl/aprsd.git
synced 2025-04-13 06:58:30 -04: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.message_counter = 0
|
||||
self.setup()
|
||||
self.threads = self.create_threads()
|
||||
threads = self.create_threads()
|
||||
if threads:
|
||||
self.threads = threads
|
||||
if self.threads:
|
||||
self.start_threads()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user