From 4e33623be3025484710877821b58832fa4c49308 Mon Sep 17 00:00:00 2001 From: area363 Date: Tue, 7 Nov 2023 15:41:16 +0900 Subject: [PATCH] test --- .../Commands/ItemEnhancementMigration.cs | 2 ++ .../NineChronicles.DataProvider.Executable.csproj | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs b/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs index 4082877f..b87e75cb 100644 --- a/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs +++ b/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs @@ -292,6 +292,8 @@ public void Migration( offsetIdx += interval; _mySqlStore.StoreItemEnhancementList(_itemEnhancementList); _itemEnhancementList.Clear(); + GC.Collect(); + GC.WaitForPendingFinalizers(); } else { diff --git a/NineChronicles.DataProvider.Executable/NineChronicles.DataProvider.Executable.csproj b/NineChronicles.DataProvider.Executable/NineChronicles.DataProvider.Executable.csproj index 963337c7..f8ff859d 100644 --- a/NineChronicles.DataProvider.Executable/NineChronicles.DataProvider.Executable.csproj +++ b/NineChronicles.DataProvider.Executable/NineChronicles.DataProvider.Executable.csproj @@ -4,7 +4,7 @@ net6 true true - $(NoWarn),1573,1591,1712,MEN002,MEN003,MEN005,S1450,SA1009,SA1101,SA1111,SA1116,S1134,SA1200,SA1309,SA1413,SA1600,SA1601,SA1633,EF1001,S1075 + $(NoWarn),1573,1591,1712,MEN002,MEN003,MEN005,S1450,SA1009,SA1101,SA1111,SA1116,S1134,SA1200,SA1309,SA1413,SA1600,SA1601,SA1633,EF1001,S1075,S1215