From e99c906fed564fecae0f389fa21f25e624db9088 Mon Sep 17 00:00:00 2001 From: Hemna Date: Thu, 21 Nov 2024 20:35:42 -0500 Subject: [PATCH] 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 --- aprsd/threads/rx.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aprsd/threads/rx.py b/aprsd/threads/rx.py index f641535..e7e313d 100644 --- a/aprsd/threads/rx.py +++ b/aprsd/threads/rx.py @@ -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