From f1fcdb89f3c3cda4cb5b01b85956cb2899cc181b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernat=20Borr=C3=A0s=20Civil?= <70479573+BernatBC@users.noreply.github.com> Date: Fri, 11 Apr 2025 17:07:25 +0200 Subject: [PATCH] Clean PR --- src/ViewModels/CommitDetail.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ViewModels/CommitDetail.cs b/src/ViewModels/CommitDetail.cs index 2d758133..3a2da602 100644 --- a/src/ViewModels/CommitDetail.cs +++ b/src/ViewModels/CommitDetail.cs @@ -614,7 +614,8 @@ namespace SourceGit.ViewModels }); } - if (_cancellationSource is { IsCancellationRequested: false }) _cancellationSource.Cancel(); + if (_cancellationSource is { IsCancellationRequested: false }) + _cancellationSource.Cancel(); _cancellationSource = new CancellationTokenSource(); var token = _cancellationSource.Token;