mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
[downloader] Fix error (#8016)
* downloader: Fix error * Update downloader.rb
This commit is contained in:
@@ -135,11 +135,11 @@ def http_downloader(uri, filename = File.basename(url), verbose = false)
|
||||
|
||||
io.write(chunk) # write to file
|
||||
end
|
||||
ensure
|
||||
# stop progress bar, wait for it to terminate
|
||||
progress_bar.progress_bar_showing = false
|
||||
progress_bar_thread.join
|
||||
end
|
||||
ensure
|
||||
# stop progress bar, wait for it to terminate
|
||||
progress_bar.progress_bar_showing = false
|
||||
progress_bar_thread.join
|
||||
end
|
||||
end
|
||||
rescue OpenSSL::SSL::SSLError
|
||||
|
||||
Reference in New Issue
Block a user