/// <summary> /// Runs once on Actor.Dispose(). /// Main purpose is to ensure ChildActivity.OnActorDispose runs as well (which isn't otherwise accessible due to protection level). /// </summary> internal void OnActorDisposeOuter(Actor self) { if (ChildActivity != null) { ChildActivity.OnActorDisposeOuter(self); } OnActorDispose(self); }
/// <summary> /// Runs once on Actor.Dispose(). /// Main purpose is to ensure ChildActivity.OnActorDispose runs as well (which isn't otherwise accessible due to protection level). /// </summary> internal void OnActorDisposeOuter(Actor self) { ChildActivity?.OnActorDisposeOuter(self); OnActorDispose(self); }