From ba9b33b9d31e2b97e6c8d017bdd65476b880ee22 Mon Sep 17 00:00:00 2001 From: Joyce Er Date: Fri, 24 Jun 2022 16:23:07 -0700 Subject: [PATCH] Dispose quickpick after it resolves (#153177) --- .../contrib/sessionSync/browser/sessionSync.contribution.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/contrib/sessionSync/browser/sessionSync.contribution.ts b/src/vs/workbench/contrib/sessionSync/browser/sessionSync.contribution.ts index d800b0cabd937..3c102115db848 100644 --- a/src/vs/workbench/contrib/sessionSync/browser/sessionSync.contribution.ts +++ b/src/vs/workbench/contrib/sessionSync/browser/sessionSync.contribution.ts @@ -425,6 +425,8 @@ export class SessionSyncContribution extends Disposable implements IWorkbenchCon quickPick.show(); }); + quickPick.dispose(); + if (command === undefined) { return undefined; }