yyl
2025-08-25 cec8b67d82c2c2c1662d55c818c4a46bcc0487db
Main/Config/ConfigBase.cs
@@ -7,12 +7,18 @@
public class ConfigBase<U, T> where T : ConfigBase<U, T>, new()
{
    /// <summary>
    /// 是否访问过静态构造函数
    /// </summary>
    public static bool visit = false;
    static ConfigBase()
    {
        if (isInit)
        {
            return;
        }
        LazyInit();
    }
@@ -38,11 +44,11 @@
        return null;
    }
    public static void ForceRelease()
    {
        m_dic.Clear();
        isInit = false;
    }
    // public static void ForceRelease()
    // {
    //     m_dic.Clear();
    //     isInit = false;
    // }
    public static List<U> GetKeys()
    {