Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes <johannes.rieken@gmail.com>2022-08-26 17:13:36 +0300
committerJohannes <johannes.rieken@gmail.com>2022-08-26 17:13:36 +0300
commit7c25cdb50da3dd5f7e35ecf946b9605c68ba1295 (patch)
tree4c7246d8f9ae57a9f0ac3e26bb1a43f03239f6f2 /src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
parent6ec6d9d94dc37e138009d59a33a57d13d142b853 (diff)
When calling `registerSingleton` you must signal if you support (or not) delayed instantiationjoh/registerSingleton-explicit
Diffstat (limited to 'src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts')
-rw-r--r--src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
index 0b086c9554e..2cd51b35541 100644
--- a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
+++ b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
@@ -80,9 +80,9 @@ import product from 'vs/platform/product/common/product';
import { IStringDictionary } from 'vs/base/common/collections';
// Singletons
-registerSingleton(IExtensionsWorkbenchService, ExtensionsWorkbenchService);
-registerSingleton(IExtensionRecommendationNotificationService, ExtensionRecommendationNotificationService);
-registerSingleton(IExtensionRecommendationsService, ExtensionRecommendationsService);
+registerSingleton(IExtensionsWorkbenchService, ExtensionsWorkbenchService, false);
+registerSingleton(IExtensionRecommendationNotificationService, ExtensionRecommendationNotificationService, false);
+registerSingleton(IExtensionRecommendationsService, ExtensionRecommendationsService, false);
Registry.as<IOutputChannelRegistry>(OutputExtensions.OutputChannels)
.registerChannel({ id: ExtensionsChannelId, label: ExtensionsLabel, log: false });