Merge pull request #7293 from dawidd6/unlink-lock-file

download_strategy: unlink the lock file after unlocking it
This commit is contained in:
Dawid Dziurla 2020-04-06 10:29:25 +02:00 committed by GitHub
commit 842d92a6c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,6 +326,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
end
ensure
download_lock&.unlock
download_lock&.path&.unlink
end
def clear_cache