Skip to content
New issue

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

Fix handling of state in doHandleOutputAddedMessage #239

Conversation

ngondalia
Copy link
Contributor

This method is doing a check on the state to see if output descriptor already exists. In the case it is not found, it had a blocking call before updating the state. This resulted in subsequent signals received directly after the first one, to handle the same output descriptor again.

The outcome of this was that there would be descriptors with the same key being rendered causing errors.

Signed-off-by: Neel Gondalia ngondalia@blackberry.com

This method is doing a check on the state to see if output descriptor already exists. In the case
it is not found, it had a blocking call before updating the state. This resulted in subsequent signals
received directly after the first one, to handle the same output descriptor again.

The outcome of this was that there would be descriptors with the same key being rendered causing errors.

Signed-off-by: Neel Gondalia <ngondalia@blackberry.com>
Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks!

@ngondalia ngondalia merged commit 389459c into eclipse-cdt-cloud:master Apr 12, 2024
6 checks passed
This was referenced Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants