We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc12bc0 + 209ac69 commit 9585991Copy full SHA for 9585991
arduino-ide-extension/src/browser/monitor-manager-proxy-client-impl.ts
@@ -135,6 +135,12 @@ export class MonitorManagerProxyClientImpl
135
this.onBoardsConfigChanged =
136
this.boardsServiceProvider.onBoardsConfigChanged(
137
async ({ selectedBoard, selectedPort }) => {
138
+ if (
139
+ typeof selectedBoard === 'undefined' ||
140
+ typeof selectedPort === 'undefined'
141
+ )
142
+ return;
143
+
144
// a board is plugged and it's different from the old connected board
145
if (
146
selectedBoard?.fqbn !==
0 commit comments