Ejemplo n.º 1
0
        public static void Destroy()
        {
            FontMan pFMan = FontMan.PrivGetInstance();

            Debug.Assert(pFMan != null);

            pFMan.PrivStatDump();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("FontMan.Destroy()");
#endif
            pFMan.BaseDestroy();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("     {0} ({1})", pFMan.pRefNode, pFMan.pRefNode.GetHashCode());
            Debug.WriteLine("     {0} ({1})", FontMan.pInstance, FontMan.pInstance.GetHashCode());
#endif
            pFMan.pRefNode    = null;
            FontMan.pInstance = null;
        }