From 5b61931f359f5388113aff4ad5c37eb34b1fe83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Tue, 19 Nov 2024 23:17:12 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20Clear=20`PlyStackEntry`=20sh?= =?UTF-8?q?ared=20array=20on=20return=20(#1182)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Lynx/Model/Game.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lynx/Model/Game.cs b/src/Lynx/Model/Game.cs index 004d239b1..7e4e8c645 100644 --- a/src/Lynx/Model/Game.cs +++ b/src/Lynx/Model/Game.cs @@ -261,7 +261,7 @@ public void UpdateInitialPosition() public void FreeResources() { - ArrayPool.Shared.Return(_gameStack); + ArrayPool.Shared.Return(_gameStack, clearArray: true); ArrayPool.Shared.Return(_positionHashHistory); CurrentPosition.FreeResources(); From 04282f340c08c13918c1ca867c820ee03c6cc633 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:19:23 +0000 Subject: [PATCH 2/2] Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.11.1 to 17.12.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.11.1...v17.12.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- tests/Lynx.Generator.Test/Lynx.Generator.Test.csproj | 2 +- tests/Lynx.Test/Lynx.Test.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Lynx.Generator.Test/Lynx.Generator.Test.csproj b/tests/Lynx.Generator.Test/Lynx.Generator.Test.csproj index d8bf4db80..42841f9f2 100644 --- a/tests/Lynx.Generator.Test/Lynx.Generator.Test.csproj +++ b/tests/Lynx.Generator.Test/Lynx.Generator.Test.csproj @@ -15,7 +15,7 @@ - + diff --git a/tests/Lynx.Test/Lynx.Test.csproj b/tests/Lynx.Test/Lynx.Test.csproj index 9232b8c66..94ca2e719 100644 --- a/tests/Lynx.Test/Lynx.Test.csproj +++ b/tests/Lynx.Test/Lynx.Test.csproj @@ -15,7 +15,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - +