diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index 76aa93aab1c..97180bb9611 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -764,9 +764,11 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I return extHostTunnelService.openTunnel(forward); }, get tunnels() { + checkProposedApiEnabled(extension); return extHostTunnelService.getTunnels(); }, onDidTunnelsChange: (listener, thisArg?, disposables?) => { + checkProposedApiEnabled(extension); return extHostTunnelService.onDidTunnelsChange(listener, thisArg, disposables); } };