unset buffer since it can't be reused

This commit is contained in:
Jakob Ketterl 2021-01-04 00:23:29 +01:00
parent 91be89e44e
commit 2783091cea

View File

@ -268,6 +268,7 @@ class SdrSource(ABC):
if self.socketClient is not None: if self.socketClient is not None:
self.socketClient.stop() self.socketClient.stop()
self.socketClient = None self.socketClient = None
self.buffer = None
def hasClients(self, *args): def hasClients(self, *args):
clients = [c for c in self.clients if c.getClientClass() in args] clients = [c for c in self.clients if c.getClientClass() in args]