Microsoft.Xna.Framework.MacGamePlatform.Dispose C# (CSharp) Method

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                // No need to dispose _gameWindow.  It will be released by the
                // nearest NSAutoreleasePool.
                if (_gameWindow != null)
                    _gameWindow = null;

                // No need to dispose _mainWindow.  It will be released by the
                // nearest NSAutoreleasePool.
                if (_mainWindow != null)
                    _mainWindow = null;
            }

            base.Dispose(disposing);
        }