arduino-create-agent
arduino-create-agent copied to clipboard
Lock serial monitor close and open / add checks
trafficstars
Possible bug when sending open when close in progress and not yet completed. Possible similar cases.
I tried to add checks in the frontend but it doesn't seem to fix the issues. In some cases compilation/upload stays pending or ends with 'touch error'
The agent could better control serial monitor connections and disconnections in general, it could improve this too for example: https://github.com/bcmi-labs/webide/issues/2933
To solve this issue we could better handle the open/close. Something could be offloaded from the frontend: When the WebSocket is closed the agent could close all the ports