コード例 #1
0
 private void EnterGame()
 {
     if (m_view != null)
     {
         m_view.Destroy();
         m_view = null;
     }
 }
コード例 #2
0
        public override void Dispose()
        {
            _loadingView.Parent = null;
            Dialogs.DisposeModelAndChildrenRenderers(_loadingView);
            _renderer = null;

            _loadingView.Destroy();
            _loadingView.BindingContext = null;
            _loadingView = null;

            base.Dispose();
        }
コード例 #3
0
        public override void Dispose()
        {
            _loadingView.Destroy();
            _loadingView.BindingContext = null;
            _loadingView.Parent         = null;
            _loadingView = null;

            if (_renderer != null)
            {
                if (!_renderer.View.IsDisposed())
                {
                    _renderer.View.Dispose();
                }
                _renderer?.Dispose();
                _renderer = null;
            }

            base.Dispose();
        }