mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
delayed IExtensionUrlTrustService, (#162554)
https://github.com/microsoft/vscode/issues/159178
This commit is contained in:
parent
85bf7f1d9b
commit
24dce19e24
|
@ -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 {
|
||||
|
||||
|
@ -15,4 +15,4 @@ class ExtensionUrlTrustService implements IExtensionUrlTrustService {
|
|||
}
|
||||
}
|
||||
|
||||
registerSingleton(IExtensionUrlTrustService, ExtensionUrlTrustService, false);
|
||||
registerSingleton(IExtensionUrlTrustService, ExtensionUrlTrustService, InstantiationType.Delayed);
|
||||
|
|
Loading…
Reference in a new issue