From 757ec01ea4efbe0e8b9c61e9e91098ea662bbd41 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 28 Sep 2021 00:14:53 +0200 Subject: [PATCH] clientReader is not used any more --- csdr/chain/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/csdr/chain/__init__.py b/csdr/chain/__init__.py index 557eebe..99fe821 100644 --- a/csdr/chain/__init__.py +++ b/csdr/chain/__init__.py @@ -7,7 +7,6 @@ from typing import Union, Callable, Optional class Chain(Module): def __init__(self, workers): super().__init__() - self.clientReader = None self.workers = workers for i in range(1, len(self.workers)): self._connect(self.workers[i - 1], self.workers[i]) @@ -129,10 +128,6 @@ class Chain(Module): def stop(self): for w in self.workers: w.stop() - if self.clientReader is not None: - # TODO should be covered by finalize - self.clientReader.stop() - self.clientReader = None def getInputFormat(self) -> Format: if self.workers: