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

MbedClient: improving logic of readSocket #875

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

andreagilardoni
Copy link
Contributor

This PR aims to address the issue introduced in #868.
In which case when yield() is called by the readSocket thread, it could happen that the socket is deleted by the main thread and then accessed by the readSocket thread again, while being null. This PR is currently under test and it will be merged if this issue is not observed anymore.

@pennam pennam marked this pull request as ready for review April 30, 2024 06:22
@pennam pennam merged commit 1749b20 into arduino:main Apr 30, 2024
11 checks passed
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