예제 #1
0
        public static void Destroy()
        {
            // Get the instance
            GlyphMan pMan = GlyphMan.PrivGetInstance();

#if (TRACK_DESTRUCTOR)
            Debug.WriteLine("--->GlyphMan.Destroy()");
#endif
            pMan.BaseDestroy();
            GlyphMan.pInstance = null;
        }
예제 #2
0
        public static void Destroy()
        {
            GlyphMan pGMan = GlyphMan.PrivGetInstance();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("GlyphMan.Destroy()");
#endif
            pGMan.BaseDestroy();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("{0} ({1})", pGMan.pRefNode, pGMan.pRefNode.GetHashCode());
            Debug.WriteLine("{0} ({1})", GlyphMan.pInstance, GlyphMan.pInstance.GetHashCode());
#endif

            pGMan.pRefNode     = null;
            GlyphMan.pInstance = null;
        }