public override void Removed() { base.Removed(); InputsChanged = null; OutputsChanged = null; StateChanged = null; StateStringChanged = null; Inputs.Foreach(i => i.RemovedFromRouter(this)); inputs.Clear(); Outputs.Foreach(o => o.RemovedFromRouter(this)); outputs.Clear(); }