We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7d0f2 commit 6654043Copy full SHA for 6654043
src/CodeOfChaos.Types.DataSeeder/OneTimeDataSeederService.cs
@@ -70,7 +70,7 @@ public async Task StartAsync(CancellationToken ct = default) {
70
}
71
72
// Each group should have their own scope
73
- using IServiceScope scope = serviceProvider.CreateScope();
+ await using AsyncServiceScope scope = serviceProvider.CreateAsyncScope();
74
IServiceProvider scopeProvider = scope.ServiceProvider;
75
List<ISeeder> seeders = [];
76
0 commit comments