diff options
author | Johannes <johannes.rieken@gmail.com> | 2022-08-26 17:13:36 +0300 |
---|---|---|
committer | Johannes <johannes.rieken@gmail.com> | 2022-08-26 17:13:36 +0300 |
commit | 7c25cdb50da3dd5f7e35ecf946b9605c68ba1295 (patch) | |
tree | 4c7246d8f9ae57a9f0ac3e26bb1a43f03239f6f2 /src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts | |
parent | 6ec6d9d94dc37e138009d59a33a57d13d142b853 (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.ts | 6 |
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 }); |