Esempio n. 1
0
        protected override void OnNavigatingFrom(NavigatingCancelEventArgs e)
        {
            try
            {
                if (_dhtTiny != null)
                {
                    _dhtTiny.Dispose();
                    _dhtTiny = null;
                }

                _timer.Stop();
            }
            catch (Exception ex)
            {
                ExceptionEvent.Publish(ex);
            }

            base.OnNavigatingFrom(e);
        }