/// <summary> /// Aborts this process and all of its children. /// </summary> public void AbortAll() { Abort(); if (Child != null) { Child.AbortAll(); } }
/// <summary> /// Aborts this process and all of its children. Maybe be called by /// anyone. /// </summary> public void AbortAll() { Abort(); if (Child == null) { return; } Child.AbortAll(); Child = null; }