Dispose() public method

public Dispose ( ) : void
return void
Esempio n. 1
0
        protected override void OnExit(ExitEventArgs e)
        {
            base.OnExit(e);

            if (dispatcherTimer != null)
            {
                dispatcherTimer.Stop();
                dispatcherTimer = null;
            }

            if (ProfilerApp != null)
            {
                ProfilerApp.Dispose();
                ProfilerApp = null;
            }
        }