"Updating Brave..." loops infinitely if you click relaunch while file is downloading

Description of the issue:

If a Brave update is available and the “Relaunch” button is prompted on the settings page and a file is currently downloading, and you click “Continue with download”, “Updating brave” will now loop infinitely and there is no longer a “Relaunch” button displayed.

Steps to Reproduce (add as many as necessary): 1. 2. 3.

  1. Have Brave update available and “Relaunch” button present
  2. Start downloading a file
  3. Click “Relaunch” while file is still downloading
  4. Click “Wait for download to complete”
  5. “Updating Brave…” loops infinitely and “Relaunch” does not reappear.

Actual Result (gifs and screenshots are welcome!):

Expected result:

“Relaunch” button appears again so I can re-click it after the download completes or I cancel the download.

Reproduces how often:

I am guessing always, but I cannot reproduce unless I have an update available.

Operating System and Brave Version(See the About Brave page in the main menu):

OS: macOS 10.14.4
Brave: Version 0.63.48 Chromium: 74.0.3729.108 (Official Build) (64-bit)