Ejemplo n.º 1
0
        /// <summary>
        /// Clean up at the end of a set of runs. Stops the job manager, timers, etc.
        /// </summary>
        private void Stop()
        {
            timer.Stop();
            stopwatch.Stop();
            jobRunner.Stop();

            IsRunning  = false;
            jobManager = null;
            jobRunner  = null;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Clean up at the end of a set of runs. Stops the job manager, timers, etc.
        /// </summary>
        private void Stop()
        {
            this.explorerPresenter.MainPresenter.RemoveStopHandler(OnStopSimulation);
            timer.Stop();
            stopwatch.Stop();
            jobRunner.Stop();

            IsRunning  = false;
            jobManager = null;
            jobRunner  = null;
        }