public virtual void Cancel() { if (this.Executor == null || this.Executor.InLoop) { pipeline.Cancel(); } else { this.Executor.Execute(c => { ((AbstractHandlerContext)c).SafeCancel(); }, this); } }
public virtual void Cancel() { pipeline.Cancel(); }