Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 6ad913e

Browse files
committed
fix bug where commands would be re-registered on restart
1 parent dfc539f commit 6ad913e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ class ClientWorkspace {
310310
const ws =
311311
multiProjectEnabled && activeWorkspace ? activeWorkspace : this;
312312
await ws.stop();
313+
commandsRegistered = true;
313314
return ws.start(context);
314315
});
315316
this.disposables.push(restartServer);

0 commit comments

Comments
 (0)