Skip to content

Commit

Permalink
sidebar will reopen always
Browse files Browse the repository at this point in the history
  • Loading branch information
HD787 committed Dec 15, 2024
1 parent 9c11325 commit ba751d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions extensions/vscode/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ba751d4

Please sign in to comment.