From ba751d4e39d8d4b45e00b432b4d7b6e0707362e3 Mon Sep 17 00:00:00 2001 From: henry Date: Sat, 14 Dec 2024 18:39:10 -0600 Subject: [PATCH] sidebar will reopen always --- extensions/vscode/src/commands.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extensions/vscode/src/commands.ts b/extensions/vscode/src/commands.ts index 39adc05b1..7af278118 100644 --- a/extensions/vscode/src/commands.ts +++ b/extensions/vscode/src/commands.ts @@ -459,10 +459,8 @@ const getCommandsMap: ( // This is a temporary fix—sidebar.webviewProtocol.request is blocking // when the GUI hasn't yet been setup and we should instead be // immediately throwing an error, or returning a Result object - + focusGUI(); if (!sidebar.isReady) { - focusGUI(); - const isReady = await waitForSidebarReady(sidebar, 5000, 100); if (!isReady) { return;