Skip to content

FIX: PyAVReaderTimed.close does not close container#447

Open
EitanHemed wants to merge 2 commits intosoft-matter:mainfrom
EitanHemed:pyavreadertimed_close
Open

FIX: PyAVReaderTimed.close does not close container#447
EitanHemed wants to merge 2 commits intosoft-matter:mainfrom
EitanHemed:pyavreadertimed_close

Conversation

@EitanHemed
Copy link
Copy Markdown

This comes to fix #446 - PyAVReaderTimed._container was not closing upon calling PyAVReaderTimed.close(). This allows for also existing context (with) properly. Cached frames are still available.

EitanHemed added 2 commits May 9, 2023 14:09
…ther the object's container is closed (_is_container_closed). The __del__ method handles a case where _container is closed (and hence a NoneType).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pims.Video (PyAVReaderTimed backend) not closed by context manager

1 participant