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