diff options
author | danielsdeleo <dan@opscode.com> | 2014-02-03 16:39:39 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2014-02-03 16:59:42 -0800 |
commit | d472efe27b3c9cd77902002f4158969d5d9eda15 (patch) | |
tree | dbfb51db144e9552a75083db87b2eb7cd4ae6253 /lib/chef/client.rb | |
parent | cbfcd94aa2c1fc42c9e9e331a514d68668a7694a (diff) | |
download | chef-d472efe27b3c9cd77902002f4158969d5d9eda15.tar.gz |
Update file providers to close before unlinking.
This is required on windows, but the Tempfile implementation hides this
and silently ignores the error, meaning that we're leaving tempfiles
around on windows after we thought we'd cleaned them up. Eventually GC
would get to them, but this won't happen if there is a severe crash or
something calls `Kernel.exit!`, so we prefer to clean up manually.
Diffstat (limited to 'lib/chef/client.rb')
0 files changed, 0 insertions, 0 deletions