Esempio 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;
        }
Esempio 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;
        }