diff --git a/app/src/main/connector.js b/app/src/main/connector.js index bdb932c97..5406a67ae 100644 --- a/app/src/main/connector.js +++ b/app/src/main/connector.js @@ -336,6 +336,10 @@ class Connector { this.serialPort.parser.removeAllListeners(); } } + if (this.flashFirmware) { + clearTimeout(this.flashFirmware); + this.flashFirmware = undefined; + } }; close() {