// Kill all running renderíng and picture art processing. public void Abort() { lock (_iterateMutex) { if (_iterate != null) { if (_iterate.Running) { _iterate.Abort(); } } } }
/// <summary> /// Stops the surface generation. /// </summary> public void Stop() { _currentUpdateStep = ParameterDict.Current.GetInt("View.UpdateSteps") + 1; if (_iterate != null) { if (_iterate.Running) { _iterate.Abort(); } } StopRunningPictureArt(); Progress(0); ImageCreationEnds(); }