Move ExtensionContext.environmentVariableCollection to stable

Fixes #46696
This commit is contained in:
Daniel Imms
2020-05-06 03:03:57 -07:00
parent ed00093227
commit af3c79edcb
4 changed files with 115 additions and 105 deletions

View File

@@ -230,13 +230,10 @@ export class ExtHostTerminalService extends BaseExtHostTerminalService {
public getEnvironmentVariableCollection(extension: IExtensionDescription): vscode.EnvironmentVariableCollection {
let collection = this._environmentVariableCollections.get(extension.identifier.value);
if (!collection) {
// TODO: Disable dispose
collection = new EnvironmentVariableCollection();
this._setEnvironmentVariableCollection(extension.identifier.value, collection);
}
return collection;
}