Skip to content

Commit aa3b7bb

Browse files
Potential fix for pull request finding 'Missing Dispose call on local IDisposable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 823b8b0 commit aa3b7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Grpc.IntegrationTests/OrchestrationPatterns.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public async Task ScheduleSubOrchestrationWithTagsAndRetryPolicy()
151151
return result;
152152
}));
153153
});
154-
CancellationTokenSource timeoutTokenSource = new(TimeSpan.FromMinutes(1));
154+
using CancellationTokenSource timeoutTokenSource = new(TimeSpan.FromMinutes(1));
155155

156156
// Confirm the first attempt failed
157157
await server.Client.ScheduleNewOrchestrationInstanceAsync(orchestratorName, input: 1);

0 commit comments

Comments
 (0)