Skip to content

Fix concurrency problem in Board.buildConfigOptionsStructures #1972

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

Merged

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Nov 11, 2022

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?

This is a tentative fix for #1970

What is the current behavior?

See #1970

What is the new behavior?

Should solve the nil pointer exception reported here: #1970 (comment)
BTW I found no way to reproduce it, so testing is needed.

Does this PR introduce a breaking change, and is titled accordingly?

No

Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

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

@cmaglie cmaglie merged commit ca39297 into arduino:master Nov 14, 2022
@cmaglie cmaglie deleted the fix_concurrency_on_board_buildoptions branch November 14, 2022 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
criticality: high Of high impact priority: high Resolution is a high priority topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sometimes it will not compile after switching development version
2 participants