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

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;