Example #1
0
        public static void Destroy()
        {
            // Get the instance
            DeathManager pMan = DeathManager.privGetInstance();

            Debug.WriteLine("--->DeathMan.Destroy()");
            pMan.baseDestroy();

#if (TRACK_DESTRUCTOR)
            Debug.WriteLine("     {0} ({1})", DeathMan.pDeathNodeRef, DeathMan.pDeathNodeRef.GetHashCode());
            Debug.WriteLine("     {0} ({1})", DeathMan.pInstance, DeathMan.pInstance.GetHashCode());
#endif
            DeathManager.pDeathNodeRef = null;
            DeathManager.pInstance     = null;
        }