From bf1daf12cc70d1e938d44dee67a55c4f3d175d56 Mon Sep 17 00:00:00 2001 From: Devin Bidwell Date: Tue, 2 Dec 2025 14:40:02 -0700 Subject: [PATCH] Remove unnecessary cancellation check after the Marshal call --- csharp_mod/Formatter.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/csharp_mod/Formatter.cs b/csharp_mod/Formatter.cs index 2be094a..cdb09c7 100644 --- a/csharp_mod/Formatter.cs +++ b/csharp_mod/Formatter.cs @@ -100,9 +100,6 @@ public class SlangFormatter : ICodeFormatter .GroupBy(d => d.Range.StartLine) .ToDictionary(g => g.Key); - if (cancellationToken.IsCancellationRequested) - return; - await UniTask.Yield(PlayerLoopTiming.Update, cancellationToken); ApplyDiagnostics(dict);