You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FIX: Explicitly clean up temporary files in HTMLWriter
- HTMLWriter inherits from FileMovieWriter.
- FileMovieWriter create a non-context manager TemporayDirectory on
init.
- The TemporayDirectory is cleaned up in the cleaup method of
FileMovieWriter.
- However this method (and its call chain through finish) try to
either call a subprocess to merge a bunch of single-frame files into
a movie (not relevant) or to clean up such a process (not relevant).
- The least disruptive fix is to duplicate the file clean up code.
0 commit comments