fix recording reader was closed
reader_finished() is called when the reader closes, so the `readers -= 1` here was redundant and led to readers equalling -1 instead of 0.
This commit is contained in:
parent
334a55bf7f
commit
4b9c881cd0
1 changed files with 0 additions and 1 deletions
|
@ -168,7 +168,6 @@ class BlobFile(object):
|
||||||
"""
|
"""
|
||||||
if file_handle is not None:
|
if file_handle is not None:
|
||||||
file_handle.close()
|
file_handle.close()
|
||||||
self.readers -= 1
|
|
||||||
|
|
||||||
def reader_finished(self, reader):
|
def reader_finished(self, reader):
|
||||||
self.readers -= 1
|
self.readers -= 1
|
||||||
|
|
Loading…
Reference in a new issue