Exemple #1
0
        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;
        }