mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-13 03:18:50 -04:00
No reason to create the client in init
The RX thread shouldn't create the client in init. It should only be checked in the loop prior to calling consumer
This commit is contained in:
@@ -23,7 +23,6 @@ class APRSDRXThread(APRSDThread):
|
||||
def __init__(self, packet_queue):
|
||||
super().__init__("RX_PKT")
|
||||
self.packet_queue = packet_queue
|
||||
self._client = client_factory.create()
|
||||
|
||||
def stop(self):
|
||||
self.thread_stop = True
|
||||
|
||||
Reference in New Issue
Block a user