OdessaGUIProject.MainModel.Dispose C# (CSharp) Method

Dispose() static private method

Unload of the Engine and clean up resources
static private Dispose ( ) : void
return void
        internal static void Dispose()
        {
            try
            {
                if (QuickTimePlayer != null)
                {
                    QuickTimePlayer.QuickTimeTerminate();
                    QuickTimePlayer.Dispose();
                    QuickTimePlayer = null;
                }

                NativeOdessaMethods.Dispose();
            }
            catch (Exception ex)
            {
                Logger.Error("Exception: " + ex.Message);
            }
        }