diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 34a4b75c..303190e5 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -422,6 +422,8 @@ public void CancelInstall() App.Logger.WriteException(LOG_IDENT, ex); } + Dialog?.CloseBootstrapper(); + App.Terminate(ErrorCode.ERROR_CANCELLED); } #endregion @@ -1313,6 +1315,9 @@ private async Task DownloadPackage(Package package) for (int i = 1; i <= maxTries; i++) { + if (_cancelFired) + return; + int totalBytesRead = 0; try