Ejemplo n.º 1
0
        /// <summary>Close the resources used by this library</summary>
        public static void Close()
        {
            if (isInitialized)
            {
                Stubbs.Close();
#if NO_HALO4
                Halo4.Close();
#endif
#if NO_HALO_REACH
                HaloReach.Close();
#endif
#if NO_HALO_ODST
                HaloOdst.Close();
#endif
#if NO_HALO3
                Halo3.Close();
#endif
#if !NO_HALO2
                Halo2.Close();
#endif
                Halo1.Close();
                Debug.Exceptions.Dispose();
                Debug.Trace.Close();
                Debug.LogFile.CloseLog();

                isInitialized = false;
            }
        }