Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made S3DataStore#store close its tempfile if it uses the filesystem.

  • Loading branch information...
commit 8274c7fabdb4e57039a1e2e48380b4a8a083059e 1 parent 93e90b9
Zach Baker zach authored markevans committed

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  lib/dragonfly/data_storage/s3data_store.rb
1  lib/dragonfly/data_storage/s3data_store.rb
@@ -29,6 +29,7 @@ def store(temp_object)
29 29 ensure_initialized
30 30 object = use_filesystem ? temp_object.file : temp_object.data
31 31 S3Object.store(uid, object, bucket_name)
  32 + object.close if use_filesystem
32 33 uid
33 34 end
34 35

0 comments on commit 8274c7f

Please sign in to comment.
Something went wrong with that request. Please try again.