Example #1
0
        public void Cancel()
        {
            if (!IsBusy)
            {
                return;
            }

            task.Cancel();
            this.onComplete = null;
            taskRoutinePool.OnRoutineCanceled(this);
        }