fix: preserve SDK 2.0 client value and lifetime contracts
This commit is contained in:
@@ -191,7 +191,7 @@ public sealed class FakeOpcUaClientService : IOpcUaClientService
|
||||
LastBrowseParentNodeId = parentNodeId;
|
||||
if (BrowseException != null) throw BrowseException;
|
||||
|
||||
if (parentNodeId != null && BrowseResultsByParent.TryGetValue(parentNodeId.ToString(), out var perParent))
|
||||
if (parentNodeId != null && BrowseResultsByParent.TryGetValue(parentNodeId.Value.ToString(), out var perParent))
|
||||
return Task.FromResult(perParent);
|
||||
|
||||
return Task.FromResult(BrowseResults);
|
||||
|
||||
Reference in New Issue
Block a user