Add missing CleanReturnAsync() to Content.Benchmarks (#18691)
This commit is contained in:
@@ -24,6 +24,7 @@ namespace Content.Benchmarks
|
|||||||
var pair = await PoolManager.GetServerClient();
|
var pair = await PoolManager.GetServerClient();
|
||||||
var gameMaps = pair.Pair.Server.ResolveDependency<IPrototypeManager>().EnumeratePrototypes<GameMapPrototype>().ToList();
|
var gameMaps = pair.Pair.Server.ResolveDependency<IPrototypeManager>().EnumeratePrototypes<GameMapPrototype>().ToList();
|
||||||
MapLoadBenchmark.MapsSource = gameMaps.Select(x => x.ID);
|
MapLoadBenchmark.MapsSource = gameMaps.Select(x => x.ID);
|
||||||
|
await pair.CleanReturnAsync();
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
Console.ForegroundColor = ConsoleColor.Red;
|
Console.ForegroundColor = ConsoleColor.Red;
|
||||||
|
|||||||
Reference in New Issue
Block a user