Closed
Description
Describe the problem
When using the agent, with the debug console, or web editors, often after a port is discovered, and visualised by the list
command, it appears to persist indefinitely in the memory of the agent.
After the associated board is disconnected, it is continuously detected and continuously appears in response to the list
command.
To reproduce
- Open the agent debug console
- Connect a board via USB
- Wait a few seconds
- Run the
list
command - The port should appear in the response to the list command
- Wait a few seconds
- Disconnect the board
- Wait a few seconds
- Run the
list
command - The port continues to appear in the response to the list command (bug)
Expected behavior
After the board is disconnected its port should no longer appear in the response to the list command.
Arduino Create Agent version
1.3.2-d170a5e
Operating system
macOS
Operating system version
Ventura 13.1
Browser
Chrome
Browser version
115.0.5790.114
Additional context
The problem is also visible with the web IDEs.
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest version
- My report contains all necessary details