From 6d376ae7ca3e5794f282ee0a881637e8260f00cc Mon Sep 17 00:00:00 2001 From: Thijs <snijder@astron.nl> Date: Tue, 8 Jun 2021 13:22:34 +0200 Subject: [PATCH] added queue clear --- devices/clients/sst_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/devices/clients/sst_client.py b/devices/clients/sst_client.py index 506051312..ed542159c 100644 --- a/devices/clients/sst_client.py +++ b/devices/clients/sst_client.py @@ -164,6 +164,7 @@ class SST(Thread): packet = self.deque.popleft() if packet is None: + self.deque.clear() break self.process_packet(packet) -- GitLab