Closed
Description
Describe the problem
Following this report:
arduino/arduino-ide#681 (comment)
it seems possible to have concurrent reads and writes in the arduino-cli core instances, in particular when the Init
call is ongoing and another concurrent call happens (in the example above a BoardSearch
has been executed together with the Init
).
To reproduce
I didn't try to reproduce it yet, but I think this is a signal of a potential problem that must be solved.
Expected behavior
The CLI must not crash
Arduino CLI version
nightly
Operating system
N/A
Operating system version
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the nightly build
- My report contains all necessary details