From ee5362edac4ce7fb84bf717d57a20238140e7844 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Tue, 11 Mar 2014 17:40:23 +0100 Subject: [PATCH] Release source at the end of ProcessPipe run --- timeside/core.py | 4 +++- timeside/decoder/file.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/timeside/core.py b/timeside/core.py index 5d16bd4..b5317aa 100644 --- a/timeside/core.py +++ b/timeside/core.py @@ -336,7 +336,9 @@ class ProcessPipe(object): for item in items: item.post_process() - # Release processors + # Release source + source.release() + # Release processors for item in items: item.release() self.processors.remove(item) diff --git a/timeside/decoder/file.py b/timeside/decoder/file.py index 186c43f..9f29b4e 100644 --- a/timeside/decoder/file.py +++ b/timeside/decoder/file.py @@ -300,7 +300,6 @@ class FileDecoder(Decoder): if self.stack: self.stack = False self.from_stack = True - pass ## IDecoder methods -- 2.39.5