private void Destroy() { foreach (var sub in Subs) { sub.Destroy(); } Subs = Subs.Clear(); _io.Destroy(this); }
private void Destroy() { foreach (var sub in Subs.GetEnumerator()) { sub.Destroy(); } Subs.Clear(); _io.Destroy(this); }