Skip to content

Commit

Permalink
uasdk: Fix for bug in "fixConnectionStatus"
Browse files Browse the repository at this point in the history
Commit 56cb080 "fix connection state handling" had a bug:
For UaSDK, the item was not setting the state for is own itemRecord.
  • Loading branch information
dirk-zimoch committed Oct 9, 2024
1 parent b5db094 commit 7fc641e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devOpcuaSup/UaSdk/ItemUaSdk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ ItemUaSdk::setState(const ConnectionStatus state)
if (auto pd = dataTree.root().lock()) {
pd->setState(state);
}
if (linkinfo.isItemRecord)
recConnector->setState(state);
}

void
Expand Down

0 comments on commit 7fc641e

Please sign in to comment.