From 5f084fd2232274e4d4a6db5ba857a25e38d27bf5 Mon Sep 17 00:00:00 2001 From: Blank Date: Thu, 30 Jul 2026 01:48:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(localization):=20=E5=AE=9E=E7=8E=B0=20Resou?= =?UTF-8?q?rceManager=20=E7=9A=84=20IDisposable=20=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Linear: GFX-204 --- GameFrameX.Foundation.Localization/Core/ResourceManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GameFrameX.Foundation.Localization/Core/ResourceManager.cs b/GameFrameX.Foundation.Localization/Core/ResourceManager.cs index 6dfdf5d..3b6eaeb 100644 --- a/GameFrameX.Foundation.Localization/Core/ResourceManager.cs +++ b/GameFrameX.Foundation.Localization/Core/ResourceManager.cs @@ -31,6 +31,7 @@ // Official Documentation: https://gameframex.doc.alianblank.com/ // ========================================================================================== +using System; using System.Collections.Concurrent; using System.Globalization; using System.Threading; @@ -52,7 +53,7 @@ namespace GameFrameX.Foundation.Localization.Core; /// var message = manager.GetString("Utility.Exceptions.TimestampOutOfRange"); /// /// -public class ResourceManager +public class ResourceManager : IDisposable { private readonly List _providers; private readonly Lazy> _assemblyProviders;