mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
enable proposed api only when developing extensions
This commit is contained in:
@@ -59,7 +59,7 @@ export class ExtensionHostMain {
|
||||
errors.setUnexpectedErrorHandler(err => mainThreadErrors.onUnexpectedExtHostError(errors.transformErrorForSerialization(err)));
|
||||
|
||||
// Create the ext host API
|
||||
const factory = createApiFactory(initData.configuration, initData.telemetryInfo, threadService, this._extensionService, this._contextService);
|
||||
const factory = createApiFactory(initData, threadService, this._extensionService, this._contextService);
|
||||
defineAPI(factory, this._extensionService);
|
||||
}
|
||||
|
||||
@@ -237,4 +237,4 @@ export class ExtensionHostMain {
|
||||
// messages to the main process, we delay the exit() by some time
|
||||
setTimeout(() => exit(code), 500);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user