Skip to content

Commit

Permalink
delayed IExtensionUrlTrustService, (#162554)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Oct 3, 2022
1 parent 85bf7f1 commit 24dce19
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/

import { IExtensionUrlTrustService } from 'vs/platform/extensionManagement/common/extensionUrlTrust';
import { registerSingleton } from 'vs/platform/instantiation/common/extensions';
import { InstantiationType, registerSingleton } from 'vs/platform/instantiation/common/extensions';

class ExtensionUrlTrustService implements IExtensionUrlTrustService {

Expand All @@ -15,4 +15,4 @@ class ExtensionUrlTrustService implements IExtensionUrlTrustService {
}
}

registerSingleton(IExtensionUrlTrustService, ExtensionUrlTrustService, false);
registerSingleton(IExtensionUrlTrustService, ExtensionUrlTrustService, InstantiationType.Delayed);

0 comments on commit 24dce19

Please sign in to comment.