download_strategy: unlink the lock file after unlocking it

This commit is contained in:
Dawid Dziurla 2020-04-06 09:56:56 +02:00
parent 28a1497c2b
commit 37dcbbaf65
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

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