mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-11 00:52:21 +01:00
13b74f5ccb
avoidMultipleOperations becomes false with a 10 seconds timeout after pressing the compile button. The new code introduced by 99f6043ced4275bbaad7a21c74930387387b5ddc didn't take this into account, so the port was being reopened before staring the actual upload. Also, make uploading variable static to avoid preferences confusion (this should be solved in a saner way giving every Editor instance its own set of properties, but it will hopefully fixes by the cli integration and workspace concept)