JuliaPlots/Plots.jl

Clean up temporary files, avoid leaking file handles

Open

#645 opened on Jan 14, 2017

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Julia (1,943 stars) (381 forks)batch import
good first issue

Description

Many of the backends create temporary files and/or open file handles with open without cleaning up either. While GC will eventually deal with the file handles, some OS's require you to close handles before you're allowed to delete a file. And accumulating an unbounded number of files over time isn't a nice thing to do to users' temporary directories.

Contributor guide