hch
7 天以前 cb653cf75b17b9bdca0b5b9e6b88edf1ca72e90c
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()
    {