diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/Drivers/DriverHostActor.ConditionSignals.cs b/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/Drivers/DriverHostActor.ConditionSignals.cs index a0b010f95..4de53675f 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/Drivers/DriverHostActor.ConditionSignals.cs +++ b/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/Drivers/DriverHostActor.ConditionSignals.cs @@ -88,8 +88,10 @@ public sealed partial class DriverHostActor { if (!IsCurrentChild(driverInstanceId, sender)) { - // A stopped incarnation (or a stray sender): never recreate or reset the tracker. Its Bad edge still - // withdraws known unless the CURRENT child of the same id is connected (its state is the live one). + // A stopped incarnation (or a stray sender): never recreate or reset the tracker. A stopped incarnation's + // Bad edge still withdraws known unless the CURRENT child of the same id is connected (its state is the + // live one); a sender that was never a child of this host changes nothing. + if (!_retiredChildren.Contains(sender)) return; var currentConnected = _conditionSignalTrackers.TryGetValue(driverInstanceId, out var live) && live.GoodSinceUtc is not null && _children.TryGetValue(driverInstanceId, out var current) && Equals(live.Owner, current.Actor); if (!connected && !currentConnected) WithdrawDriverConditionsKnown(driverInstanceId);