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.
1 parent fc26a5c commit 9fd8600Copy full SHA for 9fd8600
src/webview/newMicroPythonProjectPanel.mts
@@ -75,6 +75,8 @@ export class NewMicroPythonProjectPanel {
75
76
const settings = Settings.getInstance();
77
if (!settings) {
78
+ panel.dispose();
79
+
80
// TODO: maybe add restart button
81
void window.showErrorMessage(
82
"Failed to load settings. Please restart VSCode."
src/webview/newProjectPanel.mts
@@ -382,6 +382,8 @@ export class NewProjectPanel {
382
383
384
if (settings === undefined) {
385
386
387
388
389
0 commit comments