Add missing CleanReturnAsync() to Content.Benchmarks (#18691)

This commit is contained in:
Leon Friedrich 2023-08-05 18:41:09 +12:00 committed by GitHub
parent bd68530be3
commit c742615b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,7 @@ namespace Content.Benchmarks
var pair = await PoolManager.GetServerClient();
var gameMaps = pair.Pair.Server.ResolveDependency<IPrototypeManager>().EnumeratePrototypes<GameMapPrototype>().ToList();
MapLoadBenchmark.MapsSource = gameMaps.Select(x => x.ID);
await pair.CleanReturnAsync();
#if DEBUG
Console.ForegroundColor = ConsoleColor.Red;