diff options
Diffstat (limited to 'src/vs/workbench/services/request/browser/requestService.ts')
-rw-r--r-- | src/vs/workbench/services/request/browser/requestService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/services/request/browser/requestService.ts b/src/vs/workbench/services/request/browser/requestService.ts index 1f1e7384bc6..14dc5332868 100644 --- a/src/vs/workbench/services/request/browser/requestService.ts +++ b/src/vs/workbench/services/request/browser/requestService.ts @@ -41,7 +41,7 @@ export class BrowserRequestService extends RequestService { } private _makeRemoteRequest(connection: IRemoteAgentConnection, options: IRequestOptions, token: CancellationToken): Promise<IRequestContext> { - return connection.withChannel('request', channel => RequestChannelClient.request(channel, options, token)); + return connection.withChannel('request', channel => new RequestChannelClient(channel).request(options, token)); } } |