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
`tempfile::NamedTempFile` cleans up when dropped, but this can be
circumvented if the destructor never runs (e.g., receiving a SIGINT
signal). `tempfile::tempfile`, however, is automatically removed by the
OS when its last file handle is closed.
Note: This required re-implementing `OutputFile::persist` to copy the
buffer contents from the staging file to the actual output.
Resolves#843
To Reproduce
Run Topiary and interrupt it (eg. with
Ctrl+C
). Sometimes, a.tmp*
file remains.Expected behavior
I would expect Topiary to clean up its current temporary file before exiting.
Environment
main
The text was updated successfully, but these errors were encountered: