mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
extHostDownload isn't main thread addressable
This commit is contained in:
@@ -13,7 +13,14 @@ import { URI } from 'vs/base/common/uri';
|
||||
|
||||
export class ExtHostDownloadService extends Disposable {
|
||||
|
||||
constructor(
|
||||
static register(
|
||||
proxy: MainThreadDownloadServiceShape,
|
||||
commands: ExtHostCommands
|
||||
) {
|
||||
return new ExtHostDownloadService(proxy, commands);
|
||||
}
|
||||
|
||||
private constructor(
|
||||
proxy: MainThreadDownloadServiceShape,
|
||||
commands: ExtHostCommands
|
||||
) {
|
||||
@@ -24,5 +31,4 @@ export class ExtHostDownloadService extends Disposable {
|
||||
return location;
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user