Skip to content

Commit 4b46fe1

Browse files
committed
Cleanup
1 parent af0c826 commit 4b46fe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/serial_backend.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ function showVersionMismatchAndCli() {
296296

297297
dialog.showModal();
298298

299-
console.log(`${logHead} Connecting to CLI`);
300299
connectCli();
301300
}
302301

@@ -618,9 +617,10 @@ function finishOpen() {
618617
function connectCli() {
619618
CONFIGURATOR.connectionValid = true; // making it possible to open the CLI tab
620619
GUI.allowedTabs = ["cli"];
621-
// do we need to cleanup MSP listeners here?
620+
622621
MSP.clearListeners();
623622
MSP.disconnect_cleanup();
623+
624624
onConnect();
625625
$("#tabs .tab_cli a").click();
626626
}

0 commit comments

Comments
 (0)