From 2783091cea47175d90f410bcaec48c13001d466b Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 4 Jan 2021 00:23:29 +0100 Subject: [PATCH] unset buffer since it can't be reused --- owrx/source/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/owrx/source/__init__.py b/owrx/source/__init__.py index a8335c0..a4c8150 100644 --- a/owrx/source/__init__.py +++ b/owrx/source/__init__.py @@ -268,6 +268,7 @@ class SdrSource(ABC): if self.socketClient is not None: self.socketClient.stop() self.socketClient = None + self.buffer = None def hasClients(self, *args): clients = [c for c in self.clients if c.getClientClass() in args]