public static void Destroy() { // Get the instance ImageMan pMan = ImageMan.PrivGetInstance(); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine("--->ImageMan.Destroy()"); #endif pMan.BaseDestroy(); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine(" {0} ({1})", pMan.poNodeCompare, pMan.poNodeCompare.GetHashCode()); Debug.WriteLine(" {0} ({1})", ImageMan.pInstance, ImageMan.pInstance.GetHashCode()); #endif pMan.poNodeCompare = null; ImageMan.pInstance = null; }
public static void Destroy() { ImageMan pIMan = ImageMan.PrivGetInstance(); Debug.Assert(pIMan != null); pIMan.PrivStatDump(); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine("ImageMan.Destroy()"); #endif pIMan.BaseDestroy(); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine("{0} ({1})", pIMan.poImageCompare, pIMan.poImageCompare.GetHashCode()); Debug.WriteLine("{0} ({1})", ImageMan.pInstance, ImageMan.pInstance.GetHashCode()); #endif pIMan.poImageCompare = null; ImageMan.pInstance = null; }