mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-12 13:56:34 +00:00
fixed broken promise when reconnecting on baudRate
changes.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
6b2046e090
commit
729588770e
@ -188,6 +188,7 @@ export class MonitorConnection {
|
||||
// First, disconnect if connected.
|
||||
if (this.connected) {
|
||||
this.disconnect().then(() => resolve());
|
||||
return;
|
||||
}
|
||||
resolve();
|
||||
}).then(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user