soft-matter/pims

PyAVReaderTimed does not close container

ellchow opened this issue · 0 comments

The underlying video file in PyAVReaderTimed still seems to be open even after dropping out of scope or explicitly calling del on it. Unlike PyAVReaderIndexed, which doesn't seem to have this issue, PyAVReaderTimed does not have __del__ defined. Should the same be added to PyAVReaderTimed?

def __del__(self):
    self._container.close()