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

Remove RWSClient members that can be local variables. #67

Merged
merged 1 commit into from
Nov 1, 2019
Merged

Remove RWSClient members that can be local variables. #67

merged 1 commit into from
Nov 1, 2019

Conversation

de-vri-es
Copy link
Contributor

This PR removes member variables from RWSClient that can also be local variables, as discussed in #59. Among other considerations, this can also help in making waitForSubscriptionEvent() and endSubscription() thread safe at some point.

Note that this branches off from PR #58 to avoid a future merge conflicts. It probably makes sense to hold off reviewing this until then. The diff should be a lot smaller after #58 is merged.

I also haven't been able to test the library with these changes yet. I think I will be able to do so tommorow.

@de-vri-es
Copy link
Contributor Author

Rebased on current master.

Copy link
Contributor

@jontje jontje left a comment

Choose a reason for hiding this comment

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

The changes build fine, and my tests runs ok.

Thanks for the PR! 👍

@jontje jontje merged commit e4745e8 into ros-industrial:master Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants