Skip to content

Commit

Permalink
fixing issue with streaming RPC methods always returning the same value.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccifra committed Jan 27, 2021
1 parent 7bbef56 commit 58e404a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified example/ExampleQueryServer.vi
Binary file not shown.
2 changes: 2 additions & 0 deletions src/cluster_copier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ void ClusterDataCopier::CopyMessageFromCluster(const shared_ptr<MessageElementMe
//---------------------------------------------------------------------
void ClusterDataCopier::CopyFromCluster(LVMessage& message, int8_t* cluster)
{
message._values.clear();

for (auto val : message._metadata->_mappedElements)
{
auto start = cluster + val.second->clusterOffset;
Expand Down

0 comments on commit 58e404a

Please sign in to comment.