Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025 the Eclipse Milo Authors
* Copyright (c) 2026 the Eclipse Milo Authors
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -473,6 +473,18 @@ public UInteger getRequestTimeout() {
});
});

addSessionInitializer(
(client, session) -> {
// Reset before the Session is available so that the DataTypeTree and associated codecs
// are refreshed (eagerly or lazily, depending on configuration).

resetDataTypeTree();
resetDynamicDataTypeManager();
resetDynamicEncodingContext();

return CompletableFuture.completedFuture(Unit.VALUE);
});

faultNotificationQueue = new ExecutionQueue(transport.getConfig().getExecutor());

addressSpace = new AddressSpace(this);
Expand Down