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;