/// <summary> /// Call this method to cancel the execution of this deployment /// </summary> public void Cancel() { _cancelSource.Cancel(); if (_proCompilation != null) { _proCompilation.CancelCompilation(); } if (_hookExecution != null) { _hookExecution.KillProcess(); } EndOfDeployment(); }
/// <summary> /// Call this method to cancel the execution of this deployment /// </summary> public virtual void Cancel() { HasBeenCancelled = true; _cancelSource.Cancel(); if (_proCompilation != null) { _proCompilation.CancelCompilation(); } if (_hookExecution != null) { _hookExecution.KillProcess(); } EndOfDeployment(); }