We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d154120 commit bb629d1Copy full SHA for bb629d1
app/src/processing/app/Editor.java
@@ -2091,6 +2091,11 @@ static public boolean isUploading() {
2091
private void resumeOrCloseSerialMonitor() {
2092
// Return the serial monitor window to its initial state
2093
if (serialMonitor != null) {
2094
+ try {
2095
+ Thread.sleep(200);
2096
+ } catch (InterruptedException e) {
2097
+ // noop
2098
+ }
2099
BoardPort boardPort = BaseNoGui.getDiscoveryManager().find(PreferencesData.get("serial.port"));
2100
long sleptFor = 0;
2101
while (boardPort == null && sleptFor < MAX_TIME_AWAITING_FOR_RESUMING_SERIAL_MONITOR) {
0 commit comments