Improve cancelling builds

This commit is contained in:
Robert committed 2023-02-26 15:22:02 +01:00
1 parent 67a4672c66
commit 7aa9fa1a36
5 files changed
+40 -25

No files matched your search

@@ -159,12 +159,10 @@ public class ReleaseViewModel : ActivatableViewModelBase
_updateService.QueueUpdate();
InstallationFinished = true;
}
catch (TaskCanceledException)
{
// ignored
}
catch (Exception e)
{
if (_installerCts.IsCancellationRequested)
return;
_windowService.ShowExceptionDialog("Failed to install update", e);
}
finally