Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit400ea30
committed
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.1 parentcb7c722 commit400ea30
1 file changed
+16
-0
lines changedLines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
891 | 891 |
| |
892 | 892 |
| |
893 | 893 |
| |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
894 | 910 |
| |
895 | 911 |
| |
896 | 912 |
| |
|
0 commit comments
Comments
(0)