public static void Destroy() { // Get the instance FontMan pMan = FontMan.PrivGetInstance(); #if (TRACK_DESTRUCTOR) Debug.WriteLine("--->FontMan.Destroy()"); #endif pMan.BaseDestroy(); pMan.pRefNode = null; FontMan.pInstance = null; }
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; }