We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you have a C# Protouf callback, the data might contain "old" values, if on the wire null values are send.
Problem could be that the object is not cleared before it's being merged from the new stream. https://github.com/eclipse-ecal/ecal/blob/support/v5.13/lang/csharp/Continental/eCAL/Protobuf/ProtoSubscriber.cs#L86C1-L86C50
Send an object with a protobuf boolean. Set the value to true and send it. Send it again to false. In the callback it will still have the value true.
true
false
The text was updated successfully, but these errors were encountered:
[c#] Do not reuse Protobuf message objects in callbacks, as this cann…
7a216c3
…ot reset fields which are not contained on the wire. (#1593)
419a1d1
…ot reset fields which are not contained on the wire. (#1593) (#1610)
865b363
4ef8a3a
6f85a3a
0221d4e
KerstinKeller
No branches or pull requests
Problem Description
When you have a C# Protouf callback, the data might contain "old" values, if on the wire null values are send.
Problem could be that the object is not cleared before it's being merged from the new stream.
https://github.com/eclipse-ecal/ecal/blob/support/v5.13/lang/csharp/Continental/eCAL/Protobuf/ProtoSubscriber.cs#L86C1-L86C50
How to reproduce
Send an object with a protobuf boolean.
Set the value to
true
and send it. Send it again tofalse
. In the callback it will still have the valuetrue
.Pull Requests:
The text was updated successfully, but these errors were encountered: