SEToolbox.Models.StructurePlanetModel.CancelAsync C# (CSharp) Method

CancelAsync() public method

public CancelAsync ( ) : void
return void
        public override void CancelAsync()
        {
            if (_asyncWorker != null && _asyncWorker.IsBusy && _asyncWorker.WorkerSupportsCancellation)
            {
                _asyncWorker.CancelAsync();

                // TODO: kill file access to the Zip reader?
            }
        }