protected override void ExecuteAbort() { _task.DidEnd -= TaskOnDidEnd; _task.Abort(); AbortActivities(); }
public override void Dispose() { if (loaderTask != null) { loaderTask.Abort(); } loaderTask = null; base.Dispose(); }
protected override void AbortInternal() { if (unpackTask != null) { unpackTask.Abort(); statusMsg = unpackTask.StatusMsg(); } if (statusMsg.Length == 0) { statusMsg = "UnpackerTask aborted."; // add descriptive msg if none was given by unpackTask. } }
/// <summary> /// aborts the thread running the task in a blocking way /// </summary> protected override void AbortInternal() { if (task != null) { task.Abort(); } if (thread != null) { thread.Abort(); thread = null; } if (thread != null && !task.IsFinished()) { thread.Join(); } }
protected override void ExecuteAbort() { _responseSequence.Abort(); }
protected override void ExecuteAbort() { _attachSequence.Abort(); DetachEntity(); }
protected override void ExecuteAbort() { _testSequence.Abort(); }
/// <summary> /// 终止Task,且会从Context移除掉。 /// </summary> /// <param name="task"></param> public void AbortTask(ITask task) { task.Abort(); this.RemoveTaskFromContext(task); }
protected override void ExecuteAbort() { _animSequence.Abort(); StopAnim(); }
protected override void ExecuteAbort() { _dialogueSequence.Abort(); }
protected override void ExecuteAbort() { _testSequence.Abort(); UI.Dialogues.Stop(); }
protected override void ExecuteAbort() { _currentTask.DidEnd -= TaskOnDidEnd; _currentTask.Abort(); }
protected override void ExecuteAbort() { _scenarioTask.DidEnd -= ScenarioTaskOnDidEnd; _scenarioTask.Abort(); }
private void AbortTask() { _task.DidEnd -= TaskOnDidEnd; _task.Abort(); }