Ensure ExperimentationService gets disposed. (#161004)

This commit is contained in:
Daniel Rosenwasser 2022-09-15 11:06:53 -07:00 committed by GitHub
parent 33ccdf6969
commit 9dfd49db63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ export function activate(
registerBaseCommands(commandManager, lazyClientHost, pluginManager, activeJsTsEditorTracker);
// Currently no variables in use.
new ExperimentationService(context);
context.subscriptions.push(new ExperimentationService(context));
import('./task/taskProvider').then(module => {
context.subscriptions.push(module.register(lazyClientHost.map(x => x.serviceClient)));