Remove unnecessary cancellation check after the Marshal call

This commit is contained in:
2025-12-02 14:40:02 -07:00
parent a10b40f6fe
commit bf1daf12cc

View File

@@ -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);