Don't add to contentDisposables twice

This commit is contained in:
Matt Bierner 2021-08-23 14:47:46 -07:00
parent 4ce0c38812
commit 200f74cee6
No known key found for this signature in database
GPG key ID: 099C331567E11888

View file

@ -631,7 +631,7 @@ export class ExtensionEditor extends EditorPane {
if (matchesScheme(link, Schemas.command) && URI.parse(link).path === ShowCurrentReleaseNotesActionId) {
this.openerService.open(link, { allowCommands: true }); // TODO@sandy081 use commands service
}
}, null, this.contentDisposables));
}));
return webview;
} catch (e) {