implement output buffer shutdown
This commit is contained in:
parent
db83256bcf
commit
ee8d896d60
@ -19,6 +19,8 @@ class Chain(Flow):
|
|||||||
w2.setInput(buffer)
|
w2.setInput(buffer)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
if self.output is not None:
|
||||||
|
self.output.stop()
|
||||||
for w in self.workers:
|
for w in self.workers:
|
||||||
w.stop()
|
w.stop()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user