예제 #1
0
 public void Cleanup()
 {
     lock (singletonProtectionMutex)
     {
         instance = null;
     }
 }
예제 #2
0
        public static TSOManager GetInstance()
        {
            lock (singletonProtectionMutex)
            {
                if (instance == null)
                {
                    instance = new TSOManager();
                }

                return(instance);
            }
        }
예제 #3
0
 public void Cleanup()
 {
     lock (singletonProtectionMutex)
     {
         instance = null;
     }
 }
예제 #4
0
        public static TSOManager GetInstance()
        {
            lock (singletonProtectionMutex)
            {
                if (instance == null)
                    instance = new TSOManager();

                return instance;
            }
        }