Plugin.TsSupport/TestAppManager.cs
@@ -4,14 +4,30 @@
{
    public class TestAppManager
    {
        private static object lockObj = new object();
        private static AxApplicationMgr instance;
        public static AxApplicationMgr GetAxApplicationMgr()
        {
            if (instance == null)
            lock (lockObj)
            {
                instance = new AxApplicationMgr();
                if (instance == null)
                {
                    instance = new AxApplicationMgr();
                }
                return instance;
            }
            return instance;
        }
        public static void Dispose()
        {
            lock (lockObj)
            {
                if (instance != null)
                {
                    instance.Dispose();
                    instance = null;
                }
            }
        }
    }
}